diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index feb5136ab..d9087d648 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/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 (info.codepoint, 0x0951, 0x0954))) info.indic_category() = OT_VD; + if (info.indic_category() == OT_X && + unlikely (hb_in_range (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))