From 90affe831f08fabcb2dd5ac837c7b0cfbd14e554 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Jan 2018 18:04:56 +0000 Subject: [PATCH] [khmer] Shuffle --- src/hb-ot-shape-complex-khmer-machine.rl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl index f127b17c2..6ab3160ee 100644 --- a/src/hb-ot-shape-complex-khmer-machine.rl +++ b/src/hb-ot-shape-complex-khmer-machine.rl @@ -59,11 +59,9 @@ z = ZWJ|ZWNJ; # is_joiner cn = c.ZWJ?.n?; matra_group = z?.M.N?; syllable_tail = (SM.SM?)? A{0,3}?; -halant_group = Coeng; -halant_or_matra_group = (matra_group*) (Coeng (cn|V))?; -broken_cluster = n? (halant_group.cn)* halant_or_matra_group syllable_tail; +broken_cluster = n? (Coeng.cn)* matra_group* (Coeng.cn)? syllable_tail; consonant_syllable = (c|PLACEHOLDER|DOTTEDCIRCLE) broken_cluster; other = any;