Behdad Esfahbod [Tue, 11 Feb 2014 22:29:40 +0000 (17:29 -0500)]
Allow bootstrapping without gtk-doc
Seems like configure.ac is already able to handle it.
Luis de Bethencourt [Fri, 7 Feb 2014 04:20:47 +0000 (23:20 -0500)]
check hb_set_is_emtpy in test-set.c
Werner Lemberg [Mon, 10 Feb 2014 15:38:56 +0000 (10:38 -0500)]
typo in ucdn's Makefile.am
Behdad Esfahbod [Wed, 5 Feb 2014 13:22:06 +0000 (08:22 -0500)]
Improve MemoryBarrier() implementation
See thread "[HarfBuzz] compilation error of 0.9.26 with MinGW"
started by Werner.
Behdad Esfahbod [Thu, 30 Jan 2014 20:14:58 +0000 (15:14 -0500)]
0.9.26
Jonathan Kew [Wed, 29 Jan 2014 14:07:58 +0000 (14:07 +0000)]
Ensure hb_script_t can safely hold any hb_tag_t value it's given.
Fixes https://github.com/behdad/harfbuzz/pull/21
Behdad Esfahbod [Tue, 28 Jan 2014 22:29:42 +0000 (17:29 -0500)]
[coretext] Handle surrogate pairs when generating notdef glyphs
Fixes github.com/behdad/harfbuzz/pull/19
Behdad Esfahbod [Tue, 28 Jan 2014 22:10:05 +0000 (17:10 -0500)]
[coretext] Minor optimization
Konstantin Ritt [Tue, 28 Jan 2014 16:16:01 +0000 (18:16 +0200)]
Fix double destruction in case of OOM
Konstantin Ritt [Wed, 22 Jan 2014 18:31:30 +0000 (20:31 +0200)]
Micro optimizations
Konstantin Ritt [Wed, 22 Jan 2014 19:07:13 +0000 (21:07 +0200)]
Make it possible to disable the fallback shaper at configure time
The OT shaper supersedes the fallback shaper in every case
and the latter become an extra weight for 99.9% of users.
Behdad Esfahbod [Thu, 23 Jan 2014 19:18:49 +0000 (14:18 -0500)]
Fix clang warning 'private field 'xxx' is not used
Fixes https://github.com/behdad/harfbuzz/pull/16
Behdad Esfahbod [Thu, 23 Jan 2014 19:11:03 +0000 (14:11 -0500)]
Fix typo in _hb_buffer_serialize_glyphs_text()
Fixes https://github.com/behdad/harfbuzz/pull/17
Behdad Esfahbod [Wed, 22 Jan 2014 16:03:02 +0000 (11:03 -0500)]
[arabic] Disable 'cswh' by default
I believe Windows 8 disables it, and spec update dated
Jan 2014 also clearly says it's disabled by default:
http://www.microsoft.com/typography/OpenTypeDev/arabic/intro.htm#features
Behdad Esfahbod [Wed, 22 Jan 2014 12:53:55 +0000 (07:53 -0500)]
[ot] Don't try to compose if normalization is off
Behdad Esfahbod [Wed, 22 Jan 2014 12:43:51 +0000 (04:43 -0800)]
Merge pull request #13 from jfkthame/hangul-shaper
Tone-mark reordering and improved Old Hangul support
Jonathan Kew [Mon, 20 Jan 2014 14:23:08 +0000 (14:23 +0000)]
fixup for 64-bit windows build
Jonathan Kew [Mon, 20 Jan 2014 19:49:47 +0000 (19:49 +0000)]
[hangul] Fix ordering of dotted circle with Hangul tone mark (reported by Dohyun Kim).
Jonathan Kew [Mon, 20 Jan 2014 10:38:27 +0000 (10:38 +0000)]
[hangul] Don't force zero-width for marks - this is not wanted for the Jamo Filler glyphs.
Jonathan Kew [Mon, 20 Jan 2014 10:37:32 +0000 (10:37 +0000)]
[unicode] Exclude the Jamo Filler characters from Default_Ignorable, as some fonts want these to be visible/spacing glyphs.
Jonathan Kew [Mon, 20 Jan 2014 10:35:51 +0000 (10:35 +0000)]
[hangul] Reorder Hangul tone mark to beginning of syllable, unless font implements it using a zero-width glyph.
Jonathan Kew [Mon, 20 Jan 2014 10:35:07 +0000 (10:35 +0000)]
[hangul] Apply the appropriate *jmo features to decomposed syllables, including Old Hangul sequences that don't have Unicode compositions. Merge clusters in decomposed syllables.
Behdad Esfahbod [Thu, 2 Jan 2014 09:04:04 +0000 (17:04 +0800)]
[ot/hangul] Don't decompose Hangul even when combining marks present
As discussed on
https://github.com/behdad/harfbuzz/pull/10#issuecomment-
31442030
Behdad Esfahbod [Thu, 2 Jan 2014 06:33:10 +0000 (14:33 +0800)]
[ot] Simplify composing
Not tested. Ouch.
Behdad Esfahbod [Thu, 2 Jan 2014 06:30:45 +0000 (14:30 +0800)]
Add font->has_glyph()
Behdad Esfahbod [Thu, 2 Jan 2014 06:23:56 +0000 (14:23 +0800)]
[fallback] Minor
Behdad Esfahbod [Thu, 2 Jan 2014 06:20:00 +0000 (14:20 +0800)]
[hangul] Fix decomposition logic
Seems to be working now.
Behdad Esfahbod [Thu, 2 Jan 2014 06:04:30 +0000 (14:04 +0800)]
[hangul] Fix decomposition
Part of https://github.com/behdad/harfbuzz/pull/10
Behdad Esfahbod [Thu, 2 Jan 2014 06:01:56 +0000 (14:01 +0800)]
[hangul] Tighten up character categories
I had tried to expand to fill the blocks, but that sounds wrong in
retrospect.
Behdad Esfahbod [Tue, 31 Dec 2013 08:49:15 +0000 (16:49 +0800)]
[ot] Separate out hebrew and tibetan shapers from default
Now default shaper is truly no-op.
Behdad Esfahbod [Tue, 31 Dec 2013 08:38:47 +0000 (16:38 +0800)]
[ot] Define HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT
Behdad Esfahbod [Tue, 31 Dec 2013 08:04:35 +0000 (16:04 +0800)]
[ot] Simplify normalization_preference again
No shaper has more than one behavior re this, so no need for a callback.
Behdad Esfahbod [Tue, 31 Dec 2013 07:55:40 +0000 (15:55 +0800)]
[ot] Add Hangul shaper
Not exhaustively tested, but I think I got the intended logic
right.
The logic can perhaps be simplified. Maybe we should disabled
normalization with this shaper. Then again, for now focusing on
correctness.
Behdad Esfahbod [Sat, 28 Dec 2013 00:33:28 +0000 (19:33 -0500)]
Reorder Tai Tham SAKOT to ensure it comes after any tone marks
Behdad Esfahbod [Mon, 23 Dec 2013 19:39:23 +0000 (14:39 -0500)]
[uniscribe] Fix scratch-buffer accounting
Behdad Esfahbod [Mon, 23 Dec 2013 03:53:27 +0000 (22:53 -0500)]
Add TODO item
Luis de Bethencourt [Sun, 22 Dec 2013 13:02:11 +0000 (08:02 -0500)]
Clean ht-ob headers
Behdad Esfahbod [Mon, 23 Dec 2013 01:48:53 +0000 (20:48 -0500)]
Cache various masks on the shape plan
Behdad Esfahbod [Mon, 23 Dec 2013 00:35:27 +0000 (19:35 -0500)]
Minor correction to kern mask checking
Behdad Esfahbod [Mon, 23 Dec 2013 00:33:35 +0000 (19:33 -0500)]
Minor fraction mask setting improvement
Behdad Esfahbod [Sun, 22 Dec 2013 22:55:59 +0000 (17:55 -0500)]
Don't form fractions if only one of numr/dnom exist
Behdad Esfahbod [Sun, 22 Dec 2013 21:17:54 +0000 (16:17 -0500)]
Bug 72698 - Automatically support frac / numr / dnom
When seeing U+2044 FRACTION SLASH in the text, find decimal
digits (Unicode General Category Decimal_Number) around it,
and mark the pre-slash digits with 'numr' feature, the post-slash
digits with 'dnom' feature, and the whole sequence with 'frac'
feature.
This beautifully renders fractions with major Windows fonts,
and any other font that implements those features (numr/dnom is
enough for most fonts.)
Not the fastest way to do this, but good enough for a start.
Behdad Esfahbod [Sun, 22 Dec 2013 21:15:30 +0000 (16:15 -0500)]
Add XXX note
Behdad Esfahbod [Sat, 21 Dec 2013 05:18:18 +0000 (00:18 -0500)]
Initialize masks before mirroring
We were throwing away the rtlm feature mask set during
mirroring...
Luis de Bethencourt [Mon, 16 Dec 2013 20:48:44 +0000 (15:48 -0500)]
Have Gtk-Doc ignore UCDN files
Behdad Esfahbod [Thu, 12 Dec 2013 18:21:57 +0000 (13:21 -0500)]
Minor
Behdad Esfahbod [Thu, 12 Dec 2013 01:22:28 +0000 (20:22 -0500)]
Remove unnecessary includes
Behdad Esfahbod [Thu, 5 Dec 2013 23:19:35 +0000 (18:19 -0500)]
Drop required automake version back to 1.11.3
Work around broken automake-1.13 changes.
Behdad Esfahbod [Thu, 5 Dec 2013 01:06:59 +0000 (20:06 -0500)]
0.9.25
Behdad Esfahbod [Thu, 5 Dec 2013 01:10:02 +0000 (20:10 -0500)]
Minor
Behdad Esfahbod [Thu, 5 Dec 2013 01:01:22 +0000 (20:01 -0500)]
[git.mk] Update
Behdad Esfahbod [Thu, 5 Dec 2013 00:59:48 +0000 (19:59 -0500)]
Require automake 1.13
Fix tests build.
https://bugs.freedesktop.org/show_bug.cgi?id=71353
Behdad Esfahbod [Tue, 3 Dec 2013 01:41:41 +0000 (20:41 -0500)]
Revert "Karen" language mapping back to what it was before
https://bugzilla.mozilla.org/show_bug.cgi?id=941470
Behdad Esfahbod [Mon, 2 Dec 2013 10:57:27 +0000 (05:57 -0500)]
Fix unsafe shape_plan->face dependency
Behdad Esfahbod [Mon, 2 Dec 2013 10:42:04 +0000 (05:42 -0500)]
[util] Fix uninitialized memory access
Behdad Esfahbod [Mon, 2 Dec 2013 10:39:39 +0000 (05:39 -0500)]
[util] Plug leak
Jonathan Kew [Mon, 2 Dec 2013 10:22:00 +0000 (05:22 -0500)]
cache shape plans even if (global) user features are set
Behdad Esfahbod [Mon, 2 Dec 2013 10:17:14 +0000 (05:17 -0500)]
Add note about unsafe shape_plan->face
Will fix by removing shape_plan->face completely.
Behdad Esfahbod [Sat, 30 Nov 2013 00:21:58 +0000 (19:21 -0500)]
[coretext] Add TODO
Behdad Esfahbod [Sat, 30 Nov 2013 00:17:42 +0000 (19:17 -0500)]
[coretext] Cleanup
Khaled Hosny [Sat, 30 Nov 2013 00:01:56 +0000 (19:01 -0500)]
[coretext] Avoid font fallback with CoreText shaper
CoreText does automatic font fallback (AKA "cascading") for characters
not supported by the requested font, and provides no way to turn it off,
so detect if the returned run uses a font other than the requested one
and fill in the buffer with .notdef glyphs instead of random indices
glyph from a different font.
Behdad Esfahbod [Wed, 27 Nov 2013 03:57:24 +0000 (22:57 -0500)]
[fallback] Add TODO note
Behdad Esfahbod [Tue, 26 Nov 2013 23:00:35 +0000 (18:00 -0500)]
Minor
Behdad Esfahbod [Tue, 26 Nov 2013 22:53:41 +0000 (17:53 -0500)]
Minor
Behdad Esfahbod [Mon, 25 Nov 2013 23:10:38 +0000 (18:10 -0500)]
[myanmar] Allow punctuation clusters
The spec and Uniscribe don't allow these, but UTN#11
specifically says the sequence U+104B,U+1038 is valid.
As such, allow all "P V" sequences. There's about
eight sequences that match that structure, but Roozbeh
thinks it's fine to allow all of them.
Test case: U+104B, U+1038
https://bugs.freedesktop.org/show_bug.cgi?id=71947
Behdad Esfahbod [Mon, 25 Nov 2013 23:03:34 +0000 (18:03 -0500)]
[myanmar] Mark U+104E MYANMAR SYMBOL AFOREMENTIONED as Consonant
The spec and Uniscribe treat it as consonant in the grammar, but
it's not in IndicSyllableCategory.txt, so fix up.
Test sequence: U+1004,U+103A,U+1039,U+104E
https://bugs.freedesktop.org/show_bug.cgi?id=71948
Behdad Esfahbod [Mon, 25 Nov 2013 22:50:07 +0000 (17:50 -0500)]
[myanmar] Relax pwo-tone group a bit
This is broken sequence according to OpenType spec, Uniscribe,
and current HarfBuzz implementation. But Roozbeh says this
is a valid sequence, so allow it. There are multiple
"(DB As?)?" constructs in the grammar, but Roozbeh thinks only
this one needs changing.
Test case: 1014,1063,103A
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=71949
Behdad Esfahbod [Mon, 25 Nov 2013 22:47:19 +0000 (17:47 -0500)]
Add more Myanmar test cases
All three are broken right now according to Roozbeh.
https://bugs.freedesktop.org/show_bug.cgi?id=71947
https://bugs.freedesktop.org/show_bug.cgi?id=71948
https://bugs.freedesktop.org/show_bug.cgi?id=71949
Roozbeh Pournader [Sun, 24 Nov 2013 05:39:31 +0000 (21:39 -0800)]
Added support for several new languages
Based on research into latest SIL and Windows fonts, pulling in
the latest OpenType language tag proposal from Microsoft, and updating
to latest language tags and names from ISO 639.
Roozbeh Pournader [Sat, 23 Nov 2013 23:19:07 +0000 (15:19 -0800)]
Added language tags for S'gaw Karen and Khamti
Tags based on support in Windows 8.1's 'Myanmar Text' font.
Behdad Esfahbod [Wed, 20 Nov 2013 19:21:07 +0000 (14:21 -0500)]
Bug 71845 - Use 64-bit cmpexch on ARM64 iOS
Behdad Esfahbod [Fri, 15 Nov 2013 18:05:38 +0000 (13:05 -0500)]
Set buffer content type to INVALID in hb_buffer_set_length(0)
Previously we were only setting this in hb_buffer_clear_contents(),
but set_length(0) is a valid way to reinitialize buffer to use with
new text.
Behdad Esfahbod [Wed, 13 Nov 2013 19:54:07 +0000 (14:54 -0500)]
0.9.24
Behdad Esfahbod [Wed, 13 Nov 2013 19:50:25 +0000 (14:50 -0500)]
Use long alignment for scratch buffer
Fixes last of scratch alignment warnings in hb-coretext.
Behdad Esfahbod [Wed, 13 Nov 2013 19:44:01 +0000 (14:44 -0500)]
More scratch-buffer cleanup
Behdad Esfahbod [Wed, 13 Nov 2013 19:33:57 +0000 (14:33 -0500)]
[coretext] More scratch buffer fixes
Behdad Esfahbod [Tue, 12 Nov 2013 22:22:49 +0000 (17:22 -0500)]
Fix scratch-buffer alignment warnings
Behdad Esfahbod [Tue, 12 Nov 2013 20:41:22 +0000 (15:41 -0500)]
[travis] Enable graphite2
Behdad Esfahbod [Wed, 6 Nov 2013 19:46:04 +0000 (14:46 -0500)]
Fix llvm warnings on Mac
Patch from Scott Fleischman. Warnings were:
harfbuzz/src/hb-font-private.hh:121:42: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-font-private.hh:126:42: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-font-private.hh:400:85: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-ot-layout-common-private.hh:1115:37: Implicit conversion
loses integer precision: 'long long' to 'int'
harfbuzz/src/hb-ft.cc:421:97: Implicit conversion loses integer
precision: 'unsigned long long' to 'int'
harfbuzz/src/hb-ft.cc:422:97: Implicit conversion loses integer
precision: 'unsigned long long' to 'int'
Behdad Esfahbod [Wed, 30 Oct 2013 17:30:11 +0000 (17:30 +0000)]
[otlayout] Remove unused is_inplace()
Patch from Jonathan Kew.
Behdad Esfahbod [Wed, 30 Oct 2013 17:27:24 +0000 (17:27 +0000)]
Bug 70971 - Signed/unsigned compiler warnings on windows
Patch from Emil Eklund.
Behdad Esfahbod [Mon, 28 Oct 2013 20:00:37 +0000 (21:00 +0100)]
[otlayout] Reset ccc when marking glyph as letter
Behdad Esfahbod [Mon, 28 Oct 2013 19:44:03 +0000 (20:44 +0100)]
Fix win32 testing
Behdad Esfahbod [Mon, 28 Oct 2013 19:26:40 +0000 (20:26 +0100)]
0.9.23
Behdad Esfahbod [Mon, 28 Oct 2013 19:23:07 +0000 (20:23 +0100)]
Make "make distcheck" happy
Behdad Esfahbod [Mon, 28 Oct 2013 18:26:02 +0000 (19:26 +0100)]
[otlayout] Optimize inplace
See thread started by Jonathan with subject "an optimization for complex
fonts".
Behdad Esfahbod [Sun, 27 Oct 2013 23:20:59 +0000 (00:20 +0100)]
Revert "Zero marks by GDEF for Tibetan"
This reverts commit
d5bd0590ae2fbc7b0dee86385a565aef00ffb835.
The reasoning behind that logic was flawed and made under
a misunderstanding of the original problem, and caused
regressions as reported by Jonathan Kew in thread titled
"tibetan marks" in Oct 2013. Apparently I have had fixed
the original problem with this commit:
7e08f1258da229dfaf7e1c4b5c41e5bb83906cb0
So, revert the faulty commit and everything seems to be in good
shape.
Behdad Esfahbod [Sun, 27 Oct 2013 23:09:05 +0000 (00:09 +0100)]
Pass CPPFLAGS=-Werror to Travis-CI
We want default gcc / clang warnings to fail the CI build.
Behdad Esfahbod [Sun, 27 Oct 2013 22:52:26 +0000 (23:52 +0100)]
Fix warnings
Behdad Esfahbod [Sun, 27 Oct 2013 22:36:35 +0000 (23:36 +0100)]
Work with old and new glib
Avoids "deprecated" warnings.
Behdad Esfahbod [Sun, 27 Oct 2013 22:24:50 +0000 (23:24 +0100)]
[indic] Adjust pref reordering logic
For Javanese (pref_len == 1) only reorder if it didn't ligate. That's
sensible, and what the spec says. For other Indic (pref_len > 1)
only reorder if ligated.
Doesn't change any test numbers.
Behdad Esfahbod [Sun, 27 Oct 2013 20:04:55 +0000 (21:04 +0100)]
Optimize fallback kerning
Patch from Jonathan Kew. "These changes seem to yield a small but
just-about-measurable improvement with old fonts that lack GPOS
kerning."
Behdad Esfahbod [Sat, 26 Oct 2013 22:24:59 +0000 (00:24 +0200)]
Minor
See:
https://github.com/prezi/harfbuzz-js/pull/1/files#r7032397
Behdad Esfahbod [Thu, 24 Oct 2013 09:46:33 +0000 (11:46 +0200)]
Behdad Esfahbod [Wed, 23 Oct 2013 21:34:13 +0000 (23:34 +0200)]
Fix "shift count >= width of type" issue
Behdad Esfahbod [Fri, 18 Oct 2013 17:33:09 +0000 (19:33 +0200)]
Refactor
Behdad Esfahbod [Fri, 18 Oct 2013 17:14:22 +0000 (19:14 +0200)]
Comment
Behdad Esfahbod [Fri, 18 Oct 2013 16:07:11 +0000 (18:07 +0200)]
[indic] Improve positioning of post-base bells and whistles
Bug 58714 - Kannada u+0cb0 u+200d u+0ccd u+0c95 u+0cbe does not provide
same results as Windows8
https://bugs.freedesktop.org/show_bug.cgi?id=58714
Test with U+0CB0,U+200D,U+0CCD,U+0C95,U+0CBF and tunga.ttf.
Improves some scripts. Improves Bengali too, but numbers
are up because we produce better results than Uniscribe for some
sequences now.
New numbers:
BENGALI: 353724 out of 354188 tests passed. 464 failed (0.131004%)
DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%)
GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%)
GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%)
KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%)
KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%)
MALAYALAM: 1048140 out of 1048334 tests passed. 194 failed (0.0185056%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%)
TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.
00185457%)
Behdad Esfahbod [Fri, 18 Oct 2013 14:44:54 +0000 (16:44 +0200)]
Zero marks by GDEF for Tibetan
See:
http://lists.freedesktop.org/archives/harfbuzz/2013-April/003101.html
Behdad Esfahbod [Fri, 18 Oct 2013 14:20:13 +0000 (16:20 +0200)]
Bug 65258 - [...] Mongolian with free variation selector