From a498565cedf0441ae723c5e5969f637d792a15e7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 22 May 2014 19:39:56 -0400 Subject: [PATCH] [indic] Support U+1CF2,U+1CF3 --- src/hb-ot-shape-complex-indic.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 60e4583fe..c20ffd086 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -215,6 +215,12 @@ set_indic_properties (hb_glyph_info_t &info) * For now, just treat them like regular tone marks. */ else if (unlikely (hb_in_range (u, 0x1CE2, 0x1CE8))) cat = OT_A; + /* The following are Visarga variants. */ + else if (unlikely (hb_in_range (u, 0x1CF2, 0x1CF3))) + { + cat = OT_SM; + ASSERT_STATIC ((int) INDIC_SYLLABIC_CATEGORY_VISARGA == OT_SM); + } if (unlikely (u == 0x17D1)) cat = OT_X;