Index: third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc |
index 258ccc470c3298bd401b102aad27b4c220ad3456..d016380cc6382f02f5b07dcf8481a235a9c95a24 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc |
+++ b/third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc |
@@ -536,6 +536,24 @@ final_reordering (const hb_ot_shape_plan_t *plan, |
} |
+/* Uniscribe seems to have a shaper for 'mymr' that is like the |
+ * generic shaper, except that it zeros mark advances GDEF_LATE. */ |
+const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar_old = |
+{ |
+ "default", |
+ NULL, /* collect_features */ |
+ NULL, /* override_features */ |
+ NULL, /* data_create */ |
+ NULL, /* data_destroy */ |
+ NULL, /* preprocess_text */ |
+ HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT, |
+ NULL, /* decompose */ |
+ NULL, /* compose */ |
+ NULL, /* setup_masks */ |
+ HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE, |
+ true, /* fallback_position */ |
+}; |
+ |
const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar = |
{ |
"myanmar", |