Merge pull request #2681 from khaledhosny/myanmar-liga

[myanmar] Don’t disable liga feature
pull/2684/head
Simon Cozens 4 years ago committed by GitHub
commit 584d3a43b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/hb-ot-shape-complex-myanmar.cc
  2. 1
      test/shaping/data/in-house/Makefile.sources
  3. BIN
      test/shaping/data/in-house/fonts/065b01e54f35f0d849fd43bd5b936212739a50cb.ttf
  4. 1
      test/shaping/data/in-house/meson.build
  5. 1
      test/shaping/data/in-house/tests/myanmar-misc.tests

@ -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 */

@ -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 \

@ -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',

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