[Indic] Treat Register Shifters like Nukta

Really this time.

Fixes another 18 Khmer tests.
pull/1/head
Behdad Esfahbod 13 years ago
parent e8cd81f76d
commit 552d19b7a1
  1. 2
      src/hb-ot-shape-complex-indic-machine.rl
  2. 2
      src/hb-ot-shape-complex-indic.cc
  3. 1
      test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt

@ -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

@ -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;

@ -14,3 +14,4 @@

Loading…
Cancel
Save