diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc index fc3490d71..294ab3412 100644 --- a/src/hb-ot-shape-complex-myanmar.cc +++ b/src/hb-ot-shape-complex-myanmar.cc @@ -97,12 +97,6 @@ collect_features_myanmar (hb_ot_shape_planner_t *plan) map->enable_feature (myanmar_other_features[i], F_MANUAL_ZWJ); } -static void -override_features_myanmar (hb_ot_shape_planner_t *plan) -{ - plan->map.disable_feature (HB_TAG('l','i','g','a')); -} - enum myanmar_syllable_type_t { myanmar_consonant_syllable, @@ -346,7 +340,7 @@ reorder_myanmar (const hb_ot_shape_plan_t *plan, const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar = { collect_features_myanmar, - override_features_myanmar, + nullptr, /* override_features */ nullptr, /* data_create */ nullptr, /* data_destroy */ nullptr, /* preprocess_text */ diff --git a/test/shaping/data/in-house/Makefile.sources b/test/shaping/data/in-house/Makefile.sources index 93b212d10..b3fdca274 100644 --- a/test/shaping/data/in-house/Makefile.sources +++ b/test/shaping/data/in-house/Makefile.sources @@ -38,6 +38,7 @@ TESTS = \ tests/mark-attachment.tests \ tests/mark-filtering-sets.tests \ tests/mongolian-variation-selector.tests \ + tests/myanmar-misc.tests \ tests/myanmar-syllable.tests \ tests/myanmar-zawgyi.tests \ tests/none-directional.tests \ diff --git a/test/shaping/data/in-house/fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf b/test/shaping/data/in-house/fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf new file mode 100644 index 000000000..46ebee86f Binary files /dev/null and b/test/shaping/data/in-house/fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf differ diff --git a/test/shaping/data/in-house/meson.build b/test/shaping/data/in-house/meson.build index 20b5773e8..0bd1a9dcd 100644 --- a/test/shaping/data/in-house/meson.build +++ b/test/shaping/data/in-house/meson.build @@ -38,6 +38,7 @@ in_house_tests = [ 'mark-attachment.tests', 'mark-filtering-sets.tests', 'mongolian-variation-selector.tests', + 'myanmar-misc.tests', 'myanmar-syllable.tests', 'myanmar-zawgyi.tests', 'none-directional.tests', diff --git a/test/shaping/data/in-house/tests/myanmar-misc.tests b/test/shaping/data/in-house/tests/myanmar-misc.tests new file mode 100644 index 000000000..eb903c92b --- /dev/null +++ b/test/shaping/data/in-house/tests/myanmar-misc.tests @@ -0,0 +1 @@ +../fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf::U+101A,U+1035:[ya_e_above=0+1000]