diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-01-05 15:33:11 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-01-05 15:33:11 +0000 |
commit | 9761f9d78214323b9ad58dd0b8ba41851c9e2d54 (patch) | |
tree | 33240e506c8fce8b42082f311918fc353a6a4847 /src/hb-ot-shape-complex-indic-machine.rl | |
parent | 075895364435ee88936696bcb5457283c4bb1a29 (diff) |
[indic] Remove more Khmer-specific stuff from Indic shaper
No numbers changed.
Diffstat (limited to 'src/hb-ot-shape-complex-indic-machine.rl')
-rw-r--r-- | src/hb-ot-shape-complex-indic-machine.rl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/hb-ot-shape-complex-indic-machine.rl b/src/hb-ot-shape-complex-indic-machine.rl index 58d35c00..e6643a1a 100644 --- a/src/hb-ot-shape-complex-indic-machine.rl +++ b/src/hb-ot-shape-complex-indic-machine.rl @@ -52,7 +52,6 @@ A = 10; PLACEHOLDER = 11; DOTTEDCIRCLE = 12; RS = 13; -Coeng = 14; Repha = 15; Ra = 16; CM = 17; @@ -62,7 +61,6 @@ CS = 19; c = (C | Ra); # is_consonant n = ((ZWNJ?.RS)? (N.N?)?); # is_consonant_modifier z = ZWJ|ZWNJ; # is_joiner -h = H | Coeng; # is_halant_or_coeng reph = (Ra H | Repha); # possible reph cn = c.ZWJ?.n?; @@ -71,10 +69,10 @@ symbol = Symbol.N?; matra_group = z{0,3}.M.N?.(H | forced_rakar)?; syllable_tail = (z?.SM.SM?.ZWNJ?)? A{0,3}? VD{0,2}; place_holder = PLACEHOLDER | DOTTEDCIRCLE; -halant_group = (z?.h.(ZWJ.N?)?); -final_halant_group = halant_group | h.ZWNJ; +halant_group = (z?.H.(ZWJ.N?)?); +final_halant_group = halant_group | H.ZWNJ; medial_group = CM?; -halant_or_matra_group = (final_halant_group | (h.ZWJ)? matra_group{0,4}) (Coeng (cn|V))?; +halant_or_matra_group = (final_halant_group | (H.ZWJ)? matra_group{0,4}); consonant_syllable = (Repha|CS)? (cn.halant_group){0,4} cn medial_group halant_or_matra_group syllable_tail; |