[OT] Unbreak Thai shaping and fallback Arabic shaping
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 11 Aug 2012 22:34:13 +0000 (18:34 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 11 Aug 2012 22:34:13 +0000 (18:34 -0400)
commit9f9f04c2229227bb0712166e824157bbbf5cef80
treeb20dbcbead2986c518e2750cb4dbdc4cfee7def0
parente9f28a38f54b98fa59f9159ccaaa3be6027e1378
[OT] Unbreak Thai shaping and fallback Arabic shaping

The merger of normalizer and glyph-mapping broke shapers that
modified text stream.  Unbreak them by adding a new preprocess_text
shaping stage that happens before normalizing/cmap and disallow
setup_mask modification of actual text.
src/hb-ot-shape-complex-arabic.cc
src/hb-ot-shape-complex-indic.cc
src/hb-ot-shape-complex-misc.cc
src/hb-ot-shape-complex-private.hh
src/hb-ot-shape.cc