From a71c7eb2ca9f8ba90117e1a0c4ce890f0a1640f4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Jan 2018 17:59:43 +0000 Subject: [PATCH] [khmer] Limit number of joiners --- src/hb-ot-shape-complex-khmer-machine.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl index ab3d95d17..89a12b07b 100644 --- a/src/hb-ot-shape-complex-khmer-machine.rl +++ b/src/hb-ot-shape-complex-khmer-machine.rl @@ -57,7 +57,7 @@ n = ((ZWNJ?.RS)? (N.N?)?); # is_consonant_modifier z = ZWJ|ZWNJ; # is_joiner cn = c.ZWJ?.n?; -matra_group = z{0,3}.M.N?.Coeng?; +matra_group = z?.M.N?.Coeng?; syllable_tail = (SM.SM?)? A{0,3}?; halant_group = Coeng; halant_or_matra_group = (matra_group*) (Coeng (cn|V))?;