Enable applying GSUB/GPOS features in multiple segments
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jul 2011 01:07:41 +0000 (21:07 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jul 2011 01:12:15 +0000 (21:12 -0400)
commitb70c96dbe41d6512b80fe3d966a1942e1ef64a4b
treec4171d27ca5cfd3fc27a6e6de9ea7cd1fbaadfc6
parentf6d7a9bb4c19e605f1f16d9ca40adefba138c37e
Enable applying GSUB/GPOS features in multiple segments

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=644184
among others.

Shapers now can request segmented feature application by calling
add_gsub_pause() or add_gpos_pause().  They can also provide a
callback to be called at the pause.  Currently the Arabic shaper
uses pauses to enforce certain feature application.  The Indic
shaper can use the same facility to pause and do reordering in the
callback.
src/hb-ot-map-private.hh
src/hb-ot-map.cc
src/hb-ot-shape-complex-arabic.cc
src/hb-private.hh