[indic] Treat U+0A72..0A73 like regular consonants

Unicode 6.x IndicSyllableCategory categorizes them as
placeholders, but they can subjoin.
This commit is contained in:
Behdad Esfahbod 2014-05-27 17:39:01 -04:00
parent e9b2a4cfe5
commit 2307268e01
1 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,8 @@ set_indic_properties (hb_glyph_info_t &info)
else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0xA8E0, 0xA8F1)))
cat = OT_VD;
/* The following act like consonants. */
else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x1CF5, 0x1CF6)))
else if (unlikely (hb_in_ranges<hb_codepoint_t> (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. */