diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-03-31 13:03:43 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-03-31 13:03:43 +0300 |
commit | 56544d80138cddd3a2e7ae8506f440af4c48f36d (patch) | |
tree | 79c01d07018973bf445ac68942eb74d57632fe3e /thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc | |
parent | fc4e9d6299593794489a0271bebf2c528aadcc74 (diff) |
HarfBuzz: Update to version 4.2.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc b/thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc index e6ae75e8f2..c7aa80a79a 100644 --- a/thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc +++ b/thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc @@ -79,22 +79,20 @@ collect_features_myanmar (hb_ot_shape_planner_t *plan) /* Do this before any lookups have been applied. */ map->add_gsub_pause (setup_syllables_myanmar); - map->enable_feature (HB_TAG('l','o','c','l')); + map->enable_feature (HB_TAG('l','o','c','l'), F_PER_SYLLABLE); /* The Indic specs do not require ccmp, but we apply it here since if * there is a use of it, it's typically at the beginning. */ - map->enable_feature (HB_TAG('c','c','m','p')); + map->enable_feature (HB_TAG('c','c','m','p'), F_PER_SYLLABLE); map->add_gsub_pause (reorder_myanmar); for (unsigned int i = 0; i < ARRAY_LENGTH (myanmar_basic_features); i++) { - map->enable_feature (myanmar_basic_features[i], F_MANUAL_ZWJ); + map->enable_feature (myanmar_basic_features[i], F_MANUAL_ZWJ | F_PER_SYLLABLE); map->add_gsub_pause (nullptr); } - map->add_gsub_pause (_hb_clear_syllables); - for (unsigned int i = 0; i < ARRAY_LENGTH (myanmar_other_features); i++) map->enable_feature (myanmar_other_features[i], F_MANUAL_ZWJ); } |