diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index a061d7b72..58b38c7c8 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -256,6 +256,8 @@ set_indic_properties (hb_glyph_info_t &info, hb_ot_map_t *map, hb_font_t *font) if (unlikely (hb_in_range (u, 0x0951, 0x0954))) cat = OT_VD; + if (unlikely (u == 0x17D1)) + cat = OT_X; if (cat == OT_X && unlikely (hb_in_range (u, 0x17CB, 0x17D3))) /* Khmer Various signs */ { diff --git a/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt b/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt index aa76bc50d..945dd1d56 100644 --- a/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt +++ b/test/shaping/texts/in-tree/shaper-indic/south-east-asian/script-khmer/misc/misc.txt @@ -20,3 +20,4 @@ កៀ្រ កោ្រ កៅ្រ +ព៑ា