summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-indic-machine.rl
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-05-22 18:43:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2014-05-22 18:43:14 -0400
commitc519536c34c842304da558dd4a9e3844fc261b20 (patch)
tree531ba61529c6f6003a389c97e4849d8fbdbe56f4 /src/hb-ot-shape-complex-indic-machine.rl
parentc11fc6833980fce6d70c5ae0c6623de97a3eb30a (diff)
[indic] Allow up to three tone marks
According to Roozbeh, there are valid combinations in Unicode proposals for up to three. Previously we were allowing up to two.
Diffstat (limited to 'src/hb-ot-shape-complex-indic-machine.rl')
-rw-r--r--src/hb-ot-shape-complex-indic-machine.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl
index 5c3e734e..05f62f2c 100644
--- a/src/hb-ot-shape-complex-indic-machine.rl
+++ b/src/hb-ot-shape-complex-indic-machine.rl
@@ -69,7 +69,7 @@ cn = c.ZWJ?.n?;
forced_rakar = ZWJ H ZWJ Ra;
avagraha = Avag.N?;
matra_group = z{0,3}.M.N?.(H | forced_rakar)?;
-syllable_tail2 = (SM.SM?.ZWNJ?)? (A.A?)? VD?;
+syllable_tail2 = (SM.SM?.ZWNJ?)? A{0,3}? VD?;
syllable_tail = (Coeng (cn|V))? avagraha? syllable_tail2;
place_holder = NBSP | DOTTEDCIRCLE;
halant_group = (z?.h.(ZWJ.N?)?);