From 5791f329159c9863317e2b507514c29321be31a7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 Jul 2012 16:26:55 -0400 Subject: [PATCH] [Indic] Allow a ZWNJ after SM's Malayalam failures go way down. Other scripts benefitted slightly too. Sinhala had one or two test regressions, but... --- src/hb-ot-shape-complex-indic-machine.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index 4be7698fb..62091e2fb 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -65,7 +65,7 @@ reph = (Ra H | Repha); # possible reph cn = c.n?; forced_rakar = ZWJ H ZWJ Ra; matra_group = z*.M.N?.(H | forced_rakar)?; -syllable_tail = SM? (Coeng (cn|V))? (VD VD?)?; +syllable_tail = (SM.ZWNJ?)? (Coeng (cn|V))? (VD VD?)?; place_holder = NBSP | DOTTEDCIRCLE; halant_group = (z?.h.ZWJ?); final_halant_group = halant_group | h.ZWNJ;