[Indic] Treat Register Shifters like Nukta

Really this time.

Fixes another 18 Khmer tests.
This commit is contained in:
Behdad Esfahbod 2012-07-18 16:00:49 -04:00
parent e8cd81f76d
commit 552d19b7a1
3 changed files with 2 additions and 3 deletions

View File

@ -57,7 +57,7 @@ Repha = 15;
Ra = 16;
c = (C | Ra); # is_consonant
n = (N.N? | ZWNJ?.RS); # is_consonant_modifier
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

View File

@ -299,8 +299,6 @@ _hb_ot_shape_complex_setup_masks_indic (hb_ot_map_t *map HB_UNUSED,
info.indic_position() = consonant_position (info.codepoint);
if (is_ra (info.codepoint))
info.indic_category() = OT_Ra;
} else if (info.indic_category() == OT_RS) {
info.indic_position() = POS_ABOVE_M;
} else if (info.indic_category() == OT_SM ||
info.indic_category() == OT_VD) {
info.indic_position() = POS_SMVD;

View File

@ -14,3 +14,4 @@
ង្រ្គ
ម៉្លេះ
ម‌៉្លេះ
ប៊័