From 2307268e01d27a999b56a2f573dfcee8b2a7949b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 27 May 2014 17:39:01 -0400 Subject: [PATCH] [indic] Treat U+0A72..0A73 like regular consonants Unicode 6.x IndicSyllableCategory categorizes them as placeholders, but they can subjoin. --- src/hb-ot-shape-complex-indic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f17cf41e9..6f51a7978 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -209,7 +209,8 @@ set_indic_properties (hb_glyph_info_t &info) else if (unlikely (hb_in_range (u, 0xA8E0, 0xA8F1))) cat = OT_VD; /* The following act like consonants. */ - else if (unlikely (hb_in_range (u, 0x1CF5, 0x1CF6))) + else if (unlikely (hb_in_ranges (u, 0x0A72, 0x0A73, + 0x1CF5, 0x1CF6))) cat = OT_C; /* TODO: The following should only be allowed after a Visarga. * For now, just treat them like regular tone marks. */