[khmer] Limit number of joiners

pull/683/head
Behdad Esfahbod 7 years ago
parent 574e42e1cf
commit a71c7eb2ca
  1. 2
      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))?;

Loading…
Cancel
Save