Revert "[indic] Clear syllables before presentation features"

This reverts commit 90f09b1e87.

This regressed Indic shaping. See:
https://github.com/harfbuzz/harfbuzz/issues/3513
This commit is contained in:
Behdad Esfahbod 2022-03-28 15:57:07 -06:00
parent 18c0290cf5
commit 61486746d3
1 changed files with 2 additions and 1 deletions

View File

@ -198,10 +198,11 @@ collect_features_indic (hb_ot_shape_planner_t *plan)
} }
map->add_gsub_pause (final_reordering_indic); map->add_gsub_pause (final_reordering_indic);
map->add_gsub_pause (_hb_clear_syllables);
for (; i < INDIC_NUM_FEATURES; i++) for (; i < INDIC_NUM_FEATURES; i++)
map->add_feature (indic_features[i]); map->add_feature (indic_features[i]);
map->add_gsub_pause (_hb_clear_syllables);
} }
static void static void