Merge pull request #2681 from khaledhosny/myanmar-liga

[myanmar] Don’t disable liga feature
This commit is contained in:
Simon Cozens 2020-09-16 15:08:50 +01:00 committed by GitHub
commit 584d3a43b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 7 deletions

View File

@ -97,12 +97,6 @@ collect_features_myanmar (hb_ot_shape_planner_t *plan)
map->enable_feature (myanmar_other_features[i], F_MANUAL_ZWJ); 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 { enum myanmar_syllable_type_t {
myanmar_consonant_syllable, 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 = const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar =
{ {
collect_features_myanmar, collect_features_myanmar,
override_features_myanmar, nullptr, /* override_features */
nullptr, /* data_create */ nullptr, /* data_create */
nullptr, /* data_destroy */ nullptr, /* data_destroy */
nullptr, /* preprocess_text */ nullptr, /* preprocess_text */

View File

@ -38,6 +38,7 @@ TESTS = \
tests/mark-attachment.tests \ tests/mark-attachment.tests \
tests/mark-filtering-sets.tests \ tests/mark-filtering-sets.tests \
tests/mongolian-variation-selector.tests \ tests/mongolian-variation-selector.tests \
tests/myanmar-misc.tests \
tests/myanmar-syllable.tests \ tests/myanmar-syllable.tests \
tests/myanmar-zawgyi.tests \ tests/myanmar-zawgyi.tests \
tests/none-directional.tests \ tests/none-directional.tests \

View File

@ -38,6 +38,7 @@ in_house_tests = [
'mark-attachment.tests', 'mark-attachment.tests',
'mark-filtering-sets.tests', 'mark-filtering-sets.tests',
'mongolian-variation-selector.tests', 'mongolian-variation-selector.tests',
'myanmar-misc.tests',
'myanmar-syllable.tests', 'myanmar-syllable.tests',
'myanmar-zawgyi.tests', 'myanmar-zawgyi.tests',
'none-directional.tests', 'none-directional.tests',

View File

@ -0,0 +1 @@
../fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf::U+101A,U+1035:[ya_e_above=0+1000]