From 7f335390f3a498119319a0e6c3ce7656a3902066 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 24 Sep 2018 09:56:18 -0400 Subject: [PATCH] Revert change that would decompose text if GPOS mark feature is available https://github.com/harfbuzz/harfbuzz/issues/653#issuecomment-423905920 --- src/hb-ot-shape-normalize.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-normalize.cc b/src/hb-ot-shape-normalize.cc index 90b76404d..2f0cba184 100644 --- a/src/hb-ot-shape-normalize.cc +++ b/src/hb-ot-shape-normalize.cc @@ -297,7 +297,9 @@ _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan, if (mode == HB_OT_SHAPE_NORMALIZATION_MODE_AUTO) { if (plan->has_mark) - mode = HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED; + // https://github.com/harfbuzz/harfbuzz/issues/653#issuecomment-423905920 + //mode = HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED; + mode = HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS; else mode = HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS; }