From c4ca49d55b49c65e04f0b2acecacd6a5c70978f4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 26 Dec 2016 14:52:08 -0500 Subject: [PATCH] Revert "[indic] Remove redundant Chakma decomposition rule" This reverts commit 805f76fc002d703acfcc4c5727f0b4d1baecefaa. Need to investigate why having this rule (with the reversed order) fixes decomposition as reported by punchcutter: https://github.com/behdad/harfbuzz/issues/381#issuecomment-269237796 --- src/hb-ot-shape-complex-indic.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 36fa0147d..54fbfff52 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -1739,6 +1739,10 @@ decompose_indic (const hb_ot_shape_normalize_context_t *c, /* Balinese */ case 0x1B3Cu : *a = 0x1B42u; *b= 0x1B3Cu; return true; + /* Chakma */ + case 0x1112Eu : *a = 0x11127u; *b= 0x11131u; return true; + case 0x1112Fu : *a = 0x11127u; *b= 0x11132u; return true; + #if 0 /* Gujarati */ /* This one has no decomposition in Unicode, but needs no decomposition either. */