summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc')
-rw-r--r--thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc b/thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc
index d7ec1632ea..a7d5bf574b 100644
--- a/thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc
+++ b/thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc
@@ -110,7 +110,14 @@ collect_features_khmer (hb_ot_shape_planner_t *plan)
map->enable_feature (HB_TAG('l','o','c','l'), F_PER_SYLLABLE);
map->enable_feature (HB_TAG('c','c','m','p'), F_PER_SYLLABLE);
- for (unsigned i = 0; i < KHMER_NUM_FEATURES; i++)
+ unsigned int i = 0;
+ for (; i < KHMER_BASIC_FEATURES; i++)
+ map->add_feature (khmer_features[i]);
+
+ /* https://github.com/harfbuzz/harfbuzz/issues/3531 */
+ map->add_gsub_pause (nullptr);
+
+ for (; i < KHMER_NUM_FEATURES; i++)
map->add_feature (khmer_features[i]);
}