Add old-Myanmar shaper

System Internals / HarfBuzz - Behdad Esfahbod [behdad.org] - 26 July 2014 18:18 UTC

Looks like Unsicribe responds to the 'mymr' tag by zeroing marks GDEF_LATE instead of generic-shaper UNICODE_LATE. Implement that.

Fixes Bug 81775 - Incorrect Rendering with harfbuzz-ng myanmar unicode https://bugs.freedesktop.org/show_bug.cgi?id=81775

Micro-test added based on Padauk.

6f2d9ba Add old-Myanmar shaper
src/hb-ot-shape-complex-myanmar.cc | 18 ++++++++++++++++++
src/hb-ot-shape-complex-private.hh | 5 +++--
test/shaping/Makefile.am | 1 +
test/shaping/fonts/sha1sum/MANIFEST | 1 +
.../bb9473d2403488714043bcfb946c9f78b86ad627.ttf | Bin 0 -> 3440 bytes
test/shaping/tests/MANIFEST | 1 +
test/shaping/tests/zero-width-marks.tests | 1 +
7 files changed, 25 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share