Behdad Esfahbod [Wed, 19 Mar 2014 22:38:02 +0000 (15:38 -0700)]
[util] Plug minor leak
Behdad Esfahbod [Wed, 19 Mar 2014 19:00:17 +0000 (12:00 -0700)]
Remove dead warning
Behdad Esfahbod [Wed, 19 Mar 2014 18:52:40 +0000 (11:52 -0700)]
Yet another try to make build without gtk-doc succeed
Behdad Esfahbod [Wed, 19 Mar 2014 18:39:23 +0000 (11:39 -0700)]
Another try to make gtk-doc optional
Dominik Röttsches [Tue, 18 Mar 2014 12:39:03 +0000 (14:39 +0200)]
0.9.27
Behdad Esfahbod [Mon, 17 Mar 2014 03:22:42 +0000 (20:22 -0700)]
Don't use "register" storage class specifier
Fixes warnings.
https://bugzilla.mozilla.org/show_bug.cgi?id=984081
jfkthame [Sun, 16 Mar 2014 08:25:17 +0000 (08:25 +0000)]
wrap definition of free_langs() with HAVE_ATEXIT
...to avoid an unused function warning; see mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=984081.
Behdad Esfahbod [Sat, 15 Mar 2014 02:55:46 +0000 (19:55 -0700)]
[coretext] Add hb_coretext_face_create()
Not tested.
Behdad Esfahbod [Fri, 14 Mar 2014 23:37:55 +0000 (19:37 -0400)]
[coretext] Add coretext_aat shaper
This is a higher-priority shaper than default shaper ("ot"), but
only picks up fonts that have AAT "morx"/"mort" table.
Note that for this to work the font face's get_table() implementation
should know how to return the full font blob.
Based on patch from Konstantin Ritt.
Behdad Esfahbod [Fri, 14 Mar 2014 22:52:47 +0000 (15:52 -0700)]
If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
Useful for Android / Chrome / etc when ICU is built in the same
library as harfbuzz itself.
Behdad Esfahbod [Fri, 14 Mar 2014 22:49:18 +0000 (15:49 -0700)]
Remove old cruft
Behdad Esfahbod [Mon, 10 Mar 2014 22:04:46 +0000 (15:04 -0700)]
Add Myanmar test case from OpenType Myanmar spec
Behdad Esfahbod [Mon, 10 Mar 2014 21:57:55 +0000 (14:57 -0700)]
Minor
Behdad Esfahbod [Tue, 4 Mar 2014 21:03:51 +0000 (13:03 -0800)]
Use AM_MISSING_PROG for ragel and git
Behdad Esfahbod [Tue, 18 Feb 2014 20:53:56 +0000 (15:53 -0500)]
Only do fallback Hebrew composition if no GPOS 'mark' available
Apparently some modern fonts have proper GPOS mark positioning
tables, but undesirable precomposed forms! See thread
"Hebrew composition to presentation forms" and:
http://tex.stackexchange.com/questions/156775/having-trouble-with-vowel-positioning-in-ezra-sil-xelatex
Test case: U+fb1d,05d9,05b4
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