[Indic] Treat U+0951..U+0954 all similar to U+0952

pull/1/head
Behdad Esfahbod 13 years ago
parent 5f131d3226
commit 11aa3ef18d
  1. 3
      src/hb-ot-shape-complex-indic.cc

@ -203,7 +203,8 @@ _hb_ot_shape_complex_setup_masks_indic (hb_ot_map_t *map, hb_buffer_t *buffer, h
else if (unlikely (info.codepoint == 0x200D))
info.indic_category() = OT_ZWJ;
if (unlikely (info.codepoint == 0x0952)) {
/* The spec only suggests this for U+0952, but we do more. */
if (unlikely (hb_in_range<hb_codepoint_t> (info.codepoint, 0x0951, 0x0954))) {
info.indic_category() = OT_A;
info.indic_position() = POS_SMVD;
}

Loading…
Cancel
Save