[Indic] exclude ligatures when matching on Indic category
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 24 Jul 2012 00:07:50 +0000 (20:07 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 24 Jul 2012 00:09:30 +0000 (20:09 -0400)
commit771a8f50289e8fa458cfc3cd84f73a380ce98077
treef816ffc1d84d76bc2008f45586db857b5b202f2e
parentd1af9e82e5309158ed334ab8e21f3a3b64b9540f
[Indic] exclude ligatures when matching on Indic category

If, say, a H,ZWJ,C ligature was formed, we don't want the code to detec
that as a Halant.  So, ignore ligatures when matching category in
final_reordering.

Sinhala failures down from 514 to 455 (0.167374%).
src/hb-ot-shape-complex-indic.cc
test/shaping/texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt