From 61486746d3d8937c2b656c3ba72bd666fadef76c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 28 Mar 2022 15:57:07 -0600 Subject: [PATCH] Revert "[indic] Clear syllables before presentation features" This reverts commit 90f09b1e877dc6edf63fc4ac2b397ef4e5c92083. This regressed Indic shaping. See: https://github.com/harfbuzz/harfbuzz/issues/3513 --- src/hb-ot-shape-complex-indic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f6974f27d..4a8781c8f 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -198,10 +198,11 @@ collect_features_indic (hb_ot_shape_planner_t *plan) } map->add_gsub_pause (final_reordering_indic); - map->add_gsub_pause (_hb_clear_syllables); for (; i < INDIC_NUM_FEATURES; i++) map->add_feature (indic_features[i]); + + map->add_gsub_pause (_hb_clear_syllables); } static void