From 0d3a274de1ff8e6a21c7c9857730e2eda402e310 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Jan 2018 17:01:37 +0000 Subject: [PATCH] [khmer] Remove forced_rakar from grammar Used by Sinhala only. --- src/hb-ot-shape-complex-khmer-machine.rl | 3 +-- src/hb-ot-shape-complex-khmer.cc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl index e0c765c43..77f20a5dc 100644 --- a/src/hb-ot-shape-complex-khmer-machine.rl +++ b/src/hb-ot-shape-complex-khmer-machine.rl @@ -65,9 +65,8 @@ z = ZWJ|ZWNJ; # is_joiner reph = (Ra H | Repha); # possible reph cn = c.ZWJ?.n?; -forced_rakar = ZWJ H ZWJ Ra; symbol = Symbol.N?; -matra_group = z{0,3}.M.N?.(H | forced_rakar)?; +matra_group = z{0,3}.M.N?.H?; syllable_tail = (z?.SM.SM?.ZWNJ?)? A{0,3}? VD{0,2}; place_holder = PLACEHOLDER | DOTTEDCIRCLE; halant_group = (z?.Coeng.(ZWJ.N?)?); diff --git a/src/hb-ot-shape-complex-khmer.cc b/src/hb-ot-shape-complex-khmer.cc index 56fb30a21..1d42e4691 100644 --- a/src/hb-ot-shape-complex-khmer.cc +++ b/src/hb-ot-shape-complex-khmer.cc @@ -139,7 +139,7 @@ set_khmer_properties (hb_glyph_info_t &info) /* - * Indic shaper. + * Khmer shaper. */ struct feature_list_t {