[Indic] Categorize other Khmer marks

Mark them the same as the Register Shifters for now.  Need to rename
that category to something more sensible after all is settled.

Fixes another percent of Khmer failures.  Down to under 3%!
pull/1/head
Behdad Esfahbod 13 years ago
parent 8e7b5882fb
commit df50b84740
  1. 4
      src/hb-ot-shape-complex-indic.cc

@ -257,6 +257,10 @@ _hb_ot_shape_complex_setup_masks_indic (hb_ot_map_t *map HB_UNUSED,
if (unlikely (hb_in_range<hb_codepoint_t> (info.codepoint, 0x0951, 0x0954)))
info.indic_category() = OT_VD;
if (info.indic_category() == OT_X &&
unlikely (hb_in_range<hb_codepoint_t> (info.codepoint, 0x17CB, 0x17D0)))
info.indic_category() = OT_RS;
if (info.indic_category() == OT_C) {
info.indic_position() = consonant_position (info.codepoint);
if (is_ra (info.codepoint))

Loading…
Cancel
Save