diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f75a500c8..228fc632f 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -291,6 +291,7 @@ set_indic_properties (hb_glyph_info_t &info, hb_ot_map_t *map, hb_font_t *font) pos = POS_SMVD; } + if (unlikely (u == 0x0B01)) pos = POS_BEFORE_SUB; /* Oriya Bindu is BeforeSub in the spec. */ info.indic_category() = cat; diff --git a/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/MANIFEST b/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/MANIFEST index 29cfb2f28..66a2468d3 100644 --- a/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/MANIFEST +++ b/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/MANIFEST @@ -1 +1,2 @@ +bindu.txt misc.txt diff --git a/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/bindu.txt b/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/bindu.txt new file mode 100644 index 000000000..13de6eef0 --- /dev/null +++ b/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/misc/bindu.txt @@ -0,0 +1,2 @@ +ମୁଁ +ମୁଂ