Go to file
Behdad Esfahbod 607feb7cff [OTLayout] Ignore default-ignorables when matching GSUB/GPOS
When matching lookups, be smart about default-ignorable characters.
In particular:

Do nothing specific about ZWNJ, but for the other default-ignorables:

If the lookup in question uses the ignorable character in a sequence,
then match it as we used to do.  However, if the sequence match will
fail because the default-ignorable blocked it, try skipping the
ignorable character and continue.

The most immediate thing it means is that if Lam-Alef forms a ligature,
then Lam-ZWJ-Alef will do to.  Finally!

One exception: when matching for GPOS, or for backtrack/lookahead of
GSUB, we ignore ZWNJ too.  That's the right thing to do.

It certainly is possible to build fonts that this feature will result
in undesirable glyphs, but it's hard to think of a real-world case
that that would happen.

This *does* break Indic shaping right now, since Indic Unicode has
specific rules for what ZWJ/ZWNJ mean, and skipping ZWJ is breaking
those rules.  That will be fixed in upcoming commits.
2013-02-14 12:57:50 -05:00
contrib Minor 2012-08-12 17:11:27 -04:00
m4 Add ax_pthread.m4 2012-10-02 14:46:34 -04:00
src [OTLayout] Ignore default-ignorables when matching GSUB/GPOS 2013-02-14 12:57:50 -05:00
test Add more dot-reph tests 2013-02-13 08:29:21 -05:00
util Improve checks for setmode() 2013-02-12 15:35:32 -05:00
Android.mk Add Android.mk 2012-12-21 11:54:50 -05:00
AUTHORS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
autogen.sh Revert "[Indic] Import ragel-generated Indic machine in git" 2013-02-06 23:43:27 -05:00
configure.ac Improve checks for setmode() 2013-02-12 15:35:32 -05:00
COPYING Improve license information 2012-10-28 21:26:19 -07:00
git.mk Update git.mk to upstream 2012-07-11 18:00:28 -04:00
harfbuzz.doap Minor 2011-05-27 04:14:42 -04:00
harfbuzz.pc.in Add build system 2009-11-02 16:34:59 -05:00
Makefile.am Revert "Include config.h.in in tree" 2013-02-06 23:45:27 -05:00
NEWS 0.9.12 2013-01-18 17:10:47 -06:00
README Update README, etc 2011-05-25 15:40:49 -04:00
THANKS Bump version to 0.9.2 2012-08-10 14:50:05 -04:00
TODO [tests] Start adding tests for hb-set.h 2013-01-02 22:50:36 -06:00

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

  http://harfbuzz.org/

For license information, see the file COPYING.