From 1a0a356a0f2b2932581e4fd0437c01c058f4f6d1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 2 Oct 2017 08:49:23 -0400 Subject: [PATCH] [indic] Categorize U+0980 BENGALI ANJI as placeholder Fixes https://github.com/behdad/harfbuzz/issues/538 --- src/hb-ot-shape-complex-indic.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 3cd8fd6c3..5acaadb5b 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -209,6 +209,7 @@ set_indic_properties (hb_glyph_info_t &info) pos = POS_ABOVE_C; } + else if (unlikely (u == 0x0980u)) cat = OT_PLACEHOLDER; /* https://github.com/behdad/harfbuzz/issues/538 */ else if (unlikely (u == 0x17C6u)) cat = OT_N; /* Khmer Bindu doesn't like to be repositioned. */ else if (unlikely (hb_in_range (u, 0x2010u, 0x2011u))) cat = OT_PLACEHOLDER;