[myanmar] Don’t disable liga feature
This seems to have been carried over from the Indic shaper, but Uniscribe enables it by default. See https://github.com/harfbuzz/harfbuzz/issues/2213#issuecomment-686062915
This commit is contained in:
parent
ac3f859a30
commit
7d64b09765
|
@ -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 \
|
||||
|
|
Binary file not shown.
|
@ -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…
Reference in New Issue