From ca4e3d3eab7b738c2b8e2a81696a28bca1b81495 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 18 Jul 2012 15:05:40 -0400 Subject: [PATCH] [Indic] Streamline halant/joiner in grammar --- src/hb-ot-shape-complex-indic-machine.rl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index 54f7765f5..48bf60915 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -69,9 +69,9 @@ place_holder = NBSP | DOTTEDCIRCLE; halant_group = (h.z?|z.h); -consonant_syllable = Repha? (cn halant_group)* cn A? (h.z? | matra_group*)? syllable_tail; -vowel_syllable = reph? V.n? (z?.h.cn | ZWJ.cn)* matra_group* syllable_tail; -standalone_cluster = reph? place_holder.n? (z? h.cn)* matra_group* syllable_tail; +consonant_syllable = Repha? (cn.halant_group)* cn A? (halant_group | matra_group*)? syllable_tail; +vowel_syllable = reph? V.n? (halant_group.cn | ZWJ.cn)* matra_group* syllable_tail; +standalone_cluster = reph? place_holder.n? (halant_group.cn)* matra_group* syllable_tail; other = any; main := |*