[Indic] In final reordering, find base, even if it disappeared
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 18 Jul 2012 21:42:34 +0000 (17:42 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 18 Jul 2012 21:43:23 +0000 (17:43 -0400)
commit10cdc94eee2225f14c198c015256a5a0063eecad
treef9cc0ef82ac884304f7bcd8c2ab780549b13061a
parent9c4d24a3a677a58ec59c7fb0f8b70b8aad30a032
[Indic] In final reordering, find base, even if it disappeared

POS_BASE can disappear if base ligated backward.  Define base as last
with position not after base.

Fixes a few hundred of Sinhala failures with Iskoola Pota.
src/hb-ot-shape-complex-indic.cc
test/shaping/texts/in-tree/shaper-indic/indic/script-sinhala/misc/misc.txt