platform/upstream/libHarfBuzzSharp.git
8 years ago[dwrite] Use stream font loader instead GDI interop
Ebrahim Byagowi [Tue, 21 Jun 2016 09:27:26 +0000 (13:57 +0430)]
[dwrite] Use stream font loader instead GDI interop

With help of
https://dxr.mozilla.org/mozilla-central/source/gfx/2d/NativeFontResourceDWrite.cpp

8 years agoUse UTF-32 in Python sample
Kelvin [Sat, 18 Jun 2016 22:46:38 +0000 (22:46 +0000)]
Use UTF-32  in Python sample

8 years agoMerge pull request #270 from khaledhosny/travis-failure
Khaled Hosny [Sat, 18 Jun 2016 21:08:51 +0000 (00:08 +0300)]
Merge pull request #270 from khaledhosny/travis-failure

Fix make check on Travis

8 years ago[tests] Workaround Python 2 “narrow” builds
Khaled Hosny [Sat, 18 Jun 2016 19:12:19 +0000 (21:12 +0200)]
[tests] Workaround Python 2 “narrow” builds

The so-called Python 2 “narrow” builds support UCS2 only, this is a
workaround to allow unichr to work with any Unicode character in such
builds. This fixes Travis-CI failure as it has narrow Python 2 builds.

Copied from:
https://github.com/behdad/fonttools/blob/master/Lib/fontTools/misc/py23.py

8 years agoRound, not truncate, when scaling values
Behdad Esfahbod [Tue, 7 Jun 2016 06:08:54 +0000 (23:08 -0700)]
Round, not truncate, when scaling values

Fixes https://github.com/behdad/harfbuzz/issues/255

8 years agoChange bugreport URL to github
Behdad Esfahbod [Mon, 6 Jun 2016 22:58:41 +0000 (15:58 -0700)]
Change bugreport URL to github

That's where everything is happening these days.

8 years agoUpdate for latest Unicode 9 data files
Behdad Esfahbod [Mon, 6 Jun 2016 21:14:24 +0000 (14:14 -0700)]
Update for latest Unicode 9 data files

8 years agoAdd TODO
Behdad Esfahbod [Wed, 1 Jun 2016 23:57:29 +0000 (16:57 -0700)]
Add TODO

8 years ago[myanmar] Handle U+AA74..U+AA76
Behdad Esfahbod [Fri, 6 May 2016 16:56:07 +0000 (17:56 +0100)]
[myanmar] Handle U+AA74..U+AA76

Fixes https://github.com/behdad/harfbuzz/issues/218

8 years agoFix build on droid.io
Behdad Esfahbod [Fri, 6 May 2016 16:50:06 +0000 (17:50 +0100)]
Fix build on droid.io

8 years ago[use] Update to draft spec from Andrew Glass from August 2015
Behdad Esfahbod [Fri, 6 May 2016 16:41:49 +0000 (17:41 +0100)]
[use] Update to draft spec from Andrew Glass from August 2015

8 years ago[use] Add a catch-all clause to the machine
Behdad Esfahbod [Fri, 6 May 2016 16:28:25 +0000 (17:28 +0100)]
[use] Add a catch-all clause to the machine

8 years ago[use] Fix 'Number-joiner terminated cluster' to use HN instead of H
Behdad Esfahbod [Fri, 6 May 2016 16:17:00 +0000 (17:17 +0100)]
[use] Fix 'Number-joiner terminated cluster' to use HN instead of H

From draft update to USE.

8 years agoAllow MultipleSubst to delete glyph
Behdad Esfahbod [Fri, 6 May 2016 15:19:19 +0000 (16:19 +0100)]
Allow MultipleSubst to delete glyph

Fixes https://github.com/behdad/harfbuzz/issues/253

Hopefully we got the logic right.

8 years ago[indic] Remove more unused logic after Javanese is gone
Behdad Esfahbod [Fri, 6 May 2016 15:05:07 +0000 (16:05 +0100)]
[indic] Remove more unused logic after Javanese is gone

8 years ago[indic] Remove unused Javanese bits
Behdad Esfahbod [Fri, 6 May 2016 14:59:27 +0000 (15:59 +0100)]
[indic] Remove unused Javanese bits

8 years ago[indic/use] Move Javanese from Indic shaper to USE
Behdad Esfahbod [Fri, 6 May 2016 14:52:27 +0000 (15:52 +0100)]
[indic/use] Move Javanese from Indic shaper to USE

Fixes https://github.com/behdad/harfbuzz/issues/243

With javatext.ttf, the reodering medial Ra gets its advance width
zero'ed in Uniscribe implementation, and the font adds the advance
back.  Our Indic shaper does not do that, but USE does.  So, route
Javanese through USE.  That's what Microsoft does anyway.  Test:

  U+A9A5,U+A9BA

This also seems to fix the following sequence, and variations thereof:

  U+A99F,U+A9C0,U+A9A2,U+A9BF

8 years agoAdd Javanese sample text
Behdad Esfahbod [Fri, 6 May 2016 14:39:02 +0000 (15:39 +0100)]
Add Javanese sample text

8 years agoMinor
Behdad Esfahbod [Fri, 6 May 2016 14:24:39 +0000 (15:24 +0100)]
Minor

8 years ago[indic] Remove data for scripts that don't go thorough this shaper
Behdad Esfahbod [Fri, 6 May 2016 10:50:02 +0000 (11:50 +0100)]
[indic] Remove data for scripts that don't go thorough this shaper

8 years agoUpdate tables to Unicode 9.0.0 beta
Behdad Esfahbod [Fri, 6 May 2016 10:34:46 +0000 (11:34 +0100)]
Update tables to Unicode 9.0.0 beta

Fixes https://github.com/behdad/harfbuzz/issues/251

8 years agoMinor
Behdad Esfahbod [Fri, 6 May 2016 10:21:12 +0000 (11:21 +0100)]
Minor

8 years agoAdd Unicode 9 beta scripts
Behdad Esfahbod [Fri, 6 May 2016 11:08:18 +0000 (12:08 +0100)]
Add Unicode 9 beta scripts

These are frozen, so good time to add.

8 years agoWhitespace
Behdad Esfahbod [Fri, 6 May 2016 10:59:05 +0000 (11:59 +0100)]
Whitespace

8 years ago1.2.7
Behdad Esfahbod [Mon, 2 May 2016 08:44:13 +0000 (10:44 +0200)]
1.2.7

8 years ago[ot-font] Remove unused 'post' table include for now
Behdad Esfahbod [Mon, 2 May 2016 08:29:12 +0000 (10:29 +0200)]
[ot-font] Remove unused 'post' table include for now

To make a release...

8 years ago[tests] Fix test
Behdad Esfahbod [Mon, 2 May 2016 08:28:24 +0000 (10:28 +0200)]
[tests] Fix test

8 years ago[hb-ot-font] Make 'glyf' table loading lazy
Behdad Esfahbod [Mon, 2 May 2016 08:24:00 +0000 (10:24 +0200)]
[hb-ot-font] Make 'glyf' table loading lazy

Apparently some clients have reference-table callbacks that copy the table.
As such, avoid loading 'glyf' table which is only needed if fallback positioning
happens.

8 years ago[ot-font] Start implementing 'post' table, for accessing glyph names
Behdad Esfahbod [Sat, 30 Apr 2016 17:20:56 +0000 (19:20 +0200)]
[ot-font] Start implementing 'post' table, for accessing glyph names

8 years agoMerge commit '264b7a728a41becfbf23ce258fc2a3af19d0cbbe' into HEAD
Behdad Esfahbod [Wed, 27 Apr 2016 10:38:24 +0000 (03:38 -0700)]
Merge commit '264b7a728a41becfbf23ce258fc2a3af19d0cbbe' into HEAD

8 years ago[tibetan] Reorder marks to better match Uniscribe
Behdad Esfahbod [Wed, 27 Apr 2016 10:11:41 +0000 (03:11 -0700)]
[tibetan] Reorder marks to better match Uniscribe

Fixes https://github.com/behdad/harfbuzz/issues/237

Note that Uniscribe enforces a certain syllable order.  We don't.
But with this change, I get all of the tibetan contractions pass
with Microsoft Himalaya font.

8 years ago[test] Add text for Tibetan shorthand contractions
Behdad Esfahbod [Wed, 27 Apr 2016 09:44:35 +0000 (02:44 -0700)]
[test] Add text for Tibetan shorthand contractions

From http://www.babelstone.co.uk/Tibetan/Contractions.html

8 years agoMerge pull request #247 from khaledhosny/update-opentype-language-tags
Khaled Hosny [Wed, 27 Apr 2016 00:48:23 +0000 (03:48 +0300)]
Merge pull request #247 from khaledhosny/update-opentype-language-tags

Update opentype language tags

8 years agoMass-added “difficult” tags – to be curated.
Arthur Reutenauer [Sat, 7 Nov 2015 23:37:21 +0000 (23:37 +0000)]
Mass-added “difficult” tags – to be curated.

8 years agoInitial import of missing OpenType 1.7 language tags.
Arthur Reutenauer [Sat, 7 Nov 2015 22:59:13 +0000 (22:59 +0000)]
Initial import of missing OpenType 1.7 language tags.

8 years agoUndo accidental change
Behdad Esfahbod [Tue, 26 Apr 2016 23:42:25 +0000 (16:42 -0700)]
Undo accidental change

8 years agoDo NOT ignore Mongolian Free Variation Selectors during matching
Behdad Esfahbod [Tue, 26 Apr 2016 23:41:17 +0000 (16:41 -0700)]
Do NOT ignore Mongolian Free Variation Selectors during matching

Fixes https://github.com/behdad/harfbuzz/issues/234

8 years agoMove ZWJ/ZWNJ bits to top byte of unicode_props()
Behdad Esfahbod [Tue, 26 Apr 2016 23:02:04 +0000 (16:02 -0700)]
Move ZWJ/ZWNJ bits to top byte of unicode_props()

To make room to remember Mongolian Free Variation Selectors.
Part of fixing https://github.com/behdad/harfbuzz/issues/234

8 years ago[util] Print out --debug buffer to stderr
Behdad Esfahbod [Tue, 26 Apr 2016 18:28:37 +0000 (11:28 -0700)]
[util] Print out --debug buffer to stderr

8 years agoAnnotate blacklisted fonts with their sha1sum
Behdad Esfahbod [Tue, 26 Apr 2016 17:35:23 +0000 (10:35 -0700)]
Annotate blacklisted fonts with their sha1sum

8 years agoMerge pull request #245 from KonstantinRitt/fixes/ce
Sascha Brawer [Tue, 26 Apr 2016 09:38:16 +0000 (11:38 +0200)]
Merge pull request #245 from KonstantinRitt/fixes/ce

Unbreak build on Windows CE

8 years agoUnbreak build on Windows CE
Konstantin Ritt [Tue, 26 Apr 2016 08:02:26 +0000 (12:02 +0400)]
Unbreak build on Windows CE

0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using
vsnprintf(), which is not defined on Windows CE

8 years agoMinor
Behdad Esfahbod [Sat, 9 Apr 2016 19:53:23 +0000 (12:53 -0700)]
Minor

8 years agoMinor. We should never get to this branch, but fix it anyway.
Behdad Esfahbod [Sat, 9 Apr 2016 06:46:55 +0000 (23:46 -0700)]
Minor.  We should never get to this branch, but fix it anyway.

8 years ago1.2.6
Behdad Esfahbod [Fri, 8 Apr 2016 20:51:01 +0000 (13:51 -0700)]
1.2.6

8 years agoBlacklist another set of timesi.ttf and timesbi.ttf
Behdad Esfahbod [Fri, 8 Apr 2016 20:41:20 +0000 (13:41 -0700)]
Blacklist another set of timesi.ttf and timesbi.ttf

8 years agoMerge pull request #239 from ebraminio/dwfix
Behdad Esfahbod [Fri, 8 Apr 2016 20:16:33 +0000 (13:16 -0700)]
Merge pull request #239 from ebraminio/dwfix

Improve DirectWrite backend

8 years agoFix when no feature is given
Ebrahim Byagowi [Tue, 5 Apr 2016 21:01:05 +0000 (21:01 +0000)]
Fix when no feature is given

8 years ago1.2.5
Behdad Esfahbod [Mon, 4 Apr 2016 23:25:32 +0000 (16:25 -0700)]
1.2.5

8 years agoAdd test for 6dd80faf0dcb3e8a8915c3a25da44e2a67cb0cd8
Behdad Esfahbod [Mon, 4 Apr 2016 23:24:27 +0000 (16:24 -0700)]
Add test for 6dd80faf0dcb3e8a8915c3a25da44e2a67cb0cd8

8 years ago[coretext] Clarify comment
Behdad Esfahbod [Mon, 4 Apr 2016 21:54:32 +0000 (14:54 -0700)]
[coretext] Clarify comment

8 years agoFix FixedVersion::to_int()
Behdad Esfahbod [Mon, 4 Apr 2016 21:34:25 +0000 (14:34 -0700)]
Fix FixedVersion::to_int()

Ouch.  Had broken it in 9a13ed453ef96822a47d6e6f58332b87f38d5c59

Fixes https://github.com/behdad/harfbuzz/issues/238
Will add test soon.

8 years agoHide justification behind HB_DIRECTWRITE_EXPERIMENTAL_JUSTIFICATION
Ebrahim Byagowi [Sat, 2 Apr 2016 13:47:59 +0000 (13:47 +0000)]
Hide justification behind HB_DIRECTWRITE_EXPERIMENTAL_JUSTIFICATION

8 years agoUse standard types instead Windows favourites ones
Ebrahim Byagowi [Fri, 1 Apr 2016 15:47:07 +0000 (15:47 +0000)]
Use standard types instead Windows favourites ones

8 years agoLimit GetJustifiedGlyphs only to scripts with custom justification character
Ebrahim Byagowi [Fri, 1 Apr 2016 15:36:40 +0000 (15:36 +0000)]
Limit GetJustifiedGlyphs only to scripts with custom justification character

8 years agoAdd justification support
Ebrahim Byagowi [Fri, 1 Apr 2016 06:39:57 +0000 (06:39 +0000)]
Add justification support

8 years agoBasic opentype features support
Ebrahim Byagowi [Thu, 31 Mar 2016 18:19:44 +0000 (18:19 +0000)]
Basic opentype features support

8 years agoRefactor and remove dupe getglyphs call
Ebrahim Byagowi [Thu, 31 Mar 2016 13:45:37 +0000 (13:45 +0000)]
Refactor and remove dupe getglyphs call

8 years agoBetter glyph offset support
Ebrahim Byagowi [Thu, 31 Mar 2016 12:26:16 +0000 (12:26 +0000)]
Better glyph offset support

8 years agoDon't fail when language is not set
Ebrahim Byagowi [Wed, 30 Mar 2016 20:21:40 +0000 (20:21 +0000)]
Don't fail when language is not set

8 years agoMake DirectWrite backend to work with different font sizes
Ebrahim Byagowi [Wed, 30 Mar 2016 20:15:09 +0000 (20:15 +0000)]
Make DirectWrite backend to work with different font sizes

Actually copyedited same logic from Uniscribe to make it just work

8 years ago1.2.4
Behdad Esfahbod [Thu, 17 Mar 2016 21:37:11 +0000 (14:37 -0700)]
1.2.4

8 years agoSynthesize GDEF glyph class for any glyph that does not have one in GDEF
Behdad Esfahbod [Thu, 17 Mar 2016 18:59:43 +0000 (11:59 -0700)]
Synthesize GDEF glyph class for any glyph that does not have one in GDEF

Previously we only synthesized GDEF glyph classes if the glyphClassDef
array in GDEF was null.  This worked well enough, and is indeed what
OpenType requires: "If the font does not include a GlyphClassDef table,
the client must define and maintain this information when using the
GSUB and GPOS tables."  That sentence does not quite make sense since
one needs Unicode properties as well, but is close enough.

However, looks like Arial Unicode as shipped on WinXP, does have GDEF
glyph class array, but defines no classes for Hebrew.  This results
in Hebrew marks not getting their widths zeroed.  So, with this change,
we synthesize glyph class for any glyph that is not specified in the
GDEF glyph class table.  Since, from our point of view, a glyph not
being listed in that table is a font bug, any unwanted consequence of
this change is a font bug :).

Note that we still don't get the same rendering as Uniscribe, since
Uniscribe seems to do fallback positioning as well, even though the
font does have a GPOS table (which does NOT cover Hebrew!).  We are
not going to try to match that though.

Test string for Arial Unicode:

U+05E9,U+05B8,U+05C1,U+05DC

Before: [gid1166=3+991|gid1142=0+737|gid5798=0+1434]
After: [gid1166=3+991|gid1142=0+0|gid5798=0+1434]
Uniscribe: [gid1166=3+991|gid1142=0@348,0+0|gid5798=0+1434]

Note that our new output matches what we were generating until July
2014, because the Hebrew shaper used to zero mark advances based on
Unicode, NOT GDEF.  That's 9e834e29e0b657f0555df1ab9cea79ff7abcf08d.

Reported by Greg Douglas.

8 years agoMerge pull request #232 from c0nk/wip-icu
Behdad Esfahbod [Sun, 13 Mar 2016 03:15:15 +0000 (19:15 -0800)]
Merge pull request #232 from c0nk/wip-icu

Add --with-icu=builtin option; fix compile error

8 years ago[build] Use tar-ustar instead of tar-pax
Behdad Esfahbod [Sat, 12 Mar 2016 02:50:02 +0000 (18:50 -0800)]
[build] Use tar-ustar instead of tar-pax

The default tar-v7 is not good enough for us (99 char filename
limit), so I have had bumped to tar-pax.  We got one complaint
that someone's tar couldn't handle tar-pax.  Set to tar-ustar
which is ~13 years earlier than tar-pax and is good enough for us.

8 years agoMinor comment
Behdad Esfahbod [Sat, 12 Mar 2016 02:45:19 +0000 (18:45 -0800)]
Minor comment

8 years agoRemove default clause in minor switch statements
Behdad Esfahbod [Tue, 8 Mar 2016 20:16:41 +0000 (12:16 -0800)]
Remove default clause in minor switch statements

Bending to clang warnings...
https://bugs.chromium.org/p/chromium/issues/detail?id=593057

8 years agoMerge pull request #231 from KonstantinRitt/post123buildfix
Behdad Esfahbod [Sat, 5 Mar 2016 01:20:35 +0000 (17:20 -0800)]
Merge pull request #231 from KonstantinRitt/post123buildfix

Fix build with HB_DISABLE_DEPRECATED

8 years agoFix requiredFeature stage handling logic
Behdad Esfahbod [Wed, 2 Mar 2016 21:32:42 +0000 (13:32 -0800)]
Fix requiredFeature stage handling logic

Originally the way Jonathan had written this was correct in
"continue"ing:

https://github.com/jfkthame/harfbuzz/commit/35e28c7a733eaffcd9f062b18d7db9fbb3d990fc#diff-ead86a33a5cc9ad7f6e6381031a0baddR199

When I rewrote his patch, I messed it up:

https://github.com/behdad/harfbuzz/commit/da132937989acb4d8ca9bd41c79f98750e7dda30#diff-ead86a33a5cc9ad7f6e6381031a0baddR209

the intended behavior was NOT to set found=TRUE and NOT to continue.
This was resulting in feature_index[table_index] being left unset.
Oops!

8 years agoAdd F2DOT14 type
Behdad Esfahbod [Tue, 1 Mar 2016 07:41:53 +0000 (16:41 +0900)]
Add F2DOT14 type

8 years agoUse FWORD and UFWORD when it makes sense
Behdad Esfahbod [Tue, 1 Mar 2016 07:41:26 +0000 (16:41 +0900)]
Use FWORD and UFWORD when it makes sense

I had forgotten about those types.

8 years agoFix missing ICU #include
Kal Conley [Thu, 25 Feb 2016 23:36:17 +0000 (00:36 +0100)]
Fix missing ICU #include

Fix compile error in hb-icu.cc when ICU configured with
U_NO_DEFAULT_INCLUDE_UTF_HEADERS=1

8 years agoAdd --with-icu=builtin configure option
Kal Conley [Thu, 25 Feb 2016 23:35:15 +0000 (00:35 +0100)]
Add --with-icu=builtin configure option

8 years agoFix build with HB_DISABLE_DEPRECATED
Konstantin Ritt [Thu, 25 Feb 2016 14:55:28 +0000 (18:55 +0400)]
Fix build with HB_DISABLE_DEPRECATED

When HB_DISABLE_DEPRECATED is defined, no code from hb-deprecated.h
should be used, even from within HB itself.

8 years agoSpeed up buffer variable allocation sanity check
Behdad Esfahbod [Thu, 25 Feb 2016 05:40:09 +0000 (14:40 +0900)]
Speed up buffer variable allocation sanity check

This makes defining HB_NDEBUG much less relevant, to the
point of irrelevance.  Sorry about all the fuss in previous
release!

8 years agoAdd HB_NDEBUG
Behdad Esfahbod [Thu, 25 Feb 2016 04:56:47 +0000 (13:56 +0900)]
Add HB_NDEBUG

API changes:
- If NDEBUG is defined, define HB_NDEBUG
- Disable costlier sanity checks if HB_NDEBUG is defined.

In 1.2.3 introduced some code to disable costly sanity checks if
NDEBUG is defined.  NDEBUG, however, disables all assert()s as
well.  With HB_NDEBUG, one can disable costlier checks but keep
assert()s.

I'll probably add a way to define HB_NDEBUG automatically in
release tarballs.  But for now, production systems that do NOT
define NDEBUG, are encouraged to define HB_NDEBUG for our build.

8 years ago1.2.3
Behdad Esfahbod [Thu, 25 Feb 2016 03:26:26 +0000 (12:26 +0900)]
1.2.3

8 years agoDisable internal buffer variable bookkeeping in NDEBUG builds
Behdad Esfahbod [Thu, 25 Feb 2016 03:23:02 +0000 (12:23 +0900)]
Disable internal buffer variable bookkeeping in NDEBUG builds

Saves some sweet time and binary size!

8 years agoAdd blacklist signature for Times New Roman (Bold) Italic on OS X
Behdad Esfahbod [Thu, 25 Feb 2016 02:31:03 +0000 (11:31 +0900)]
Add blacklist signature for Times New Roman (Bold) Italic on OS X

8 years ago[test] Pass closure to hb_font_set_glyph_func()
Behdad Esfahbod [Thu, 25 Feb 2016 02:20:05 +0000 (11:20 +0900)]
[test] Pass closure to hb_font_set_glyph_func()

Exercises fix in c335fd7986fe360ab8e1c032c9b988d0d30511eb

8 years agoBlacklist GDEF table of timesi.ttf and timesbi.ttf on Win 7
Behdad Esfahbod [Thu, 25 Feb 2016 02:11:15 +0000 (11:11 +0900)]
Blacklist GDEF table of timesi.ttf and timesbi.ttf on Win 7

See discussion:
https://lists.freedesktop.org/archives/harfbuzz/2016-February/005489.html

8 years agoIn trampoline implementation of get_glyph(), don't destroy user data twice!
Behdad Esfahbod [Thu, 25 Feb 2016 00:16:05 +0000 (09:16 +0900)]
In trampoline implementation of get_glyph(), don't destroy user data twice!

8 years ago[ot-font] Accelerate cmap format4 get_glyph
Behdad Esfahbod [Wed, 24 Feb 2016 11:27:13 +0000 (20:27 +0900)]
[ot-font] Accelerate cmap format4 get_glyph

8 years ago[ot-font] Towards accelerating get_glyph()
Behdad Esfahbod [Wed, 24 Feb 2016 10:52:36 +0000 (19:52 +0900)]
[ot-font] Towards accelerating get_glyph()

8 years ago[ot-font] Remove level of indirection in get_glyph_variant
Behdad Esfahbod [Wed, 24 Feb 2016 10:32:43 +0000 (19:32 +0900)]
[ot-font] Remove level of indirection in get_glyph_variant

8 years ago[TODO] Update
Behdad Esfahbod [Wed, 24 Feb 2016 10:10:06 +0000 (19:10 +0900)]
[TODO] Update

This file is rather obsolete.  Still, give it a refresh.

8 years agoAdd get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
Behdad Esfahbod [Wed, 24 Feb 2016 10:05:23 +0000 (19:05 +0900)]
Add get_nominal_glyph() and get_variation_glyph() instead of get_glyph()

New API:
- hb_font_get_nominal_glyph_func_t
- hb_font_get_variation_glyph_func_t
- hb_font_funcs_set_nominal_glyph_func()
- hb_font_funcs_set_variation_glyph_func()
- hb_font_get_nominal_glyph()
- hb_font_get_variation_glyph()

Deprecated API:
- hb_font_get_glyph_func_t
- hb_font_funcs_set_glyph_func()

Clients that implement their own font-funcs are encouraged to replace
their get_glyph() implementation with a get_nominal_glyph() and
get_variation_glyph() pair.  The variation version can assume that
variation_selector argument is not zero.

8 years ago1.2.2
Behdad Esfahbod [Wed, 24 Feb 2016 08:32:22 +0000 (17:32 +0900)]
1.2.2

8 years agoFix recent test
Behdad Esfahbod [Wed, 24 Feb 2016 07:06:40 +0000 (16:06 +0900)]
Fix recent test

Not sure why the FT functions were returning advance 1024.  This
caused failure on drone.io.  Switch to hb-ot-font and disable
glyph names.

8 years ago[tests] Fix for multiple options in test runner scripts
Behdad Esfahbod [Wed, 24 Feb 2016 07:06:23 +0000 (16:06 +0900)]
[tests] Fix for multiple options in test runner scripts

8 years agoPartially revert 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
Behdad Esfahbod [Wed, 24 Feb 2016 06:53:40 +0000 (15:53 +0900)]
Partially revert 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2

That commit moved the advance adjustment for mark positioning to
be applied immediately, instead of doing late before.  This breaks
if mark advances are zeroed late, like in Arabic.  Also, easier to
hit it in RTL scripts since a single mark with non-zero advance is
enough to hit the bug, whereas in LTR, at least two marks are needed.

This reopens https://github.com/behdad/harfbuzz/issues/211
The cursive+mark interaction is broken again.  To be fixed in a
different way.

8 years agoAdd test for mark positioning in rtl with non-zero mark advance
Behdad Esfahbod [Wed, 24 Feb 2016 06:52:37 +0000 (15:52 +0900)]
Add test for mark positioning in rtl with non-zero mark advance

Apparently I broke this 86c68c7a2c971efe8e35b1f1bd99401dc8b688d2.
Fix coming.

8 years ago[tests] Allow commenting out tests to be skipped
Behdad Esfahbod [Wed, 24 Feb 2016 06:50:33 +0000 (15:50 +0900)]
[tests] Allow commenting out tests to be skipped

8 years ago[Android.mk] Update with warning flags
Behdad Esfahbod [Wed, 24 Feb 2016 03:30:57 +0000 (12:30 +0900)]
[Android.mk] Update with warning flags

8 years ago1.2.1
Behdad Esfahbod [Tue, 23 Feb 2016 06:38:43 +0000 (15:38 +0900)]
1.2.1

8 years agoAdd note re only adding tests with Free Software fonts
Behdad Esfahbod [Tue, 23 Feb 2016 06:19:27 +0000 (15:19 +0900)]
Add note re only adding tests with Free Software fonts

8 years ago[test] Add README about how to add shaping tests
Behdad Esfahbod [Tue, 23 Feb 2016 04:47:16 +0000 (13:47 +0900)]
[test] Add README about how to add shaping tests

8 years agoRemove MANIFEST files
Behdad Esfahbod [Tue, 23 Feb 2016 04:45:38 +0000 (13:45 +0900)]
Remove MANIFEST files

They are unused currently.  We can add later if we hook them up
to anything useful.

8 years agoIn cluster-level=0, group ZWJ/ZWNJ with previous cluster
Behdad Esfahbod [Mon, 22 Feb 2016 09:22:44 +0000 (18:22 +0900)]
In cluster-level=0, group ZWJ/ZWNJ with previous cluster

This better emulates Unicode grapheme clusters.

Note that Uniscribe does NOT do this, but should be harmless with most clients,
and improve fallback with clients that use HarfBuzz cluster as unit of fallback.

Fixes https://github.com/behdad/harfbuzz/issues/217

8 years agoMinor
Behdad Esfahbod [Mon, 22 Feb 2016 07:00:59 +0000 (16:00 +0900)]
Minor