[OTLayout] Respect syllable boundaries for backtrack/lookahead matching
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Feb 2013 12:02:08 +0000 (07:02 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Feb 2013 12:02:08 +0000 (07:02 -0500)
commitcb90b1bbe6d27ca6968b70d2dbfea7ab7fb73293
tree8fa8f250ea98b8e867f6c43387e654a8c50ec696
parentee9c3a17d0bf263c5eee479fd778db97cff8e189
[OTLayout] Respect syllable boundaries for backtrack/lookahead matching

Originally we meant to match backtrack/lookahead across syllable
boundaries.  But a bug in the code meant that this was NOT done for
backtrack.  We "fixed" that in 2c7d0b6b80d412de3fddd443ed1a485ea1cbb03c,
but that broke Myanmar shaping.

We now believe that for Indic-like shapers (which is where syllables are
used), all basic shaping forms should be fully contained within their
syllables, so now we limit backtrack/lookahead matching to the syllable
too.  Unbreaks Myanmar.
src/hb-ot-layout-gsubgpos-private.hh