[GPOS] Adjust mark advance-width zeroing logic
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 1 Aug 2012 03:41:06 +0000 (23:41 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 1 Aug 2012 03:41:06 +0000 (23:41 -0400)
commit1e7d860613032e40a3f90e2caa2ee5ac44ab8c8c
tree2898c6b2c3db049a48e8400e3f5cd5db6e98c405
parenta8842e4a448efb30f3f2f3c628d6dc4824829726
[GPOS] Adjust mark advance-width zeroing logic

If there is no GPOS, zero mark advances.

If there *is* GPOS and the shaper requests so, zero mark advances for
attached marks.

Fixes regression with Tibetan, where the font has GPOS, and marks a
glyph as mark where it shouldn't get zero advance.
src/hb-ot-layout-gpos-table.hh
src/hb-ot-layout.cc
src/hb-ot-layout.h
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