[OTLayout] Respect lookup-flags skipping over non-mark glyphs
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 11 Feb 2013 18:27:17 +0000 (13:27 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 11 Feb 2013 18:27:17 +0000 (13:27 -0500)
commit54f7b4d9ec13f8454aa298534da318c023fa3c63
tree711a1efd58cb02997af0d7463ca67285ae891e09
parent9082efc4aacb34de8574d6a4a3c037987df58bd8
[OTLayout] Respect lookup-flags skipping over non-mark glyphs

Before, when matching ligatures, we never skipping over base / liga
glyphs even if that was what the LookupFlags asked for.

Fixed now.  We carefully reviewed all instances of this, and tested with
Amiri as well as some Indic scripts, and are confident that this should
NOT break anyone's fonts.  It's also how Uniscribe does it, from what
we can tell.
src/hb-ot-layout-gpos-table.hh
src/hb-ot-layout-gsubgpos-private.hh