From e79c9489802f99dc7eb8b4c2765c4c71b5f80e60 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 30 Jun 2014 15:39:39 -0400 Subject: [PATCH] [indic] Remove special-casing of U+1CF2,1CF3 These were introduced in a498565cedf0441ae723c5e5969f637d792a15e7, but IndicSyllabicCategory has had the correct value already, so the special code was never needed. --- src/hb-ot-shape-complex-indic.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 76b23ff42..3151b0048 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -208,12 +208,6 @@ set_indic_properties (hb_glyph_info_t &info) * For now, just treat them like tone marks. */ else if (unlikely (u == 0x1CED)) 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); - } /* The following take marks in standalone clusters, similar to Avagraha. */ else if (unlikely (hb_in_ranges (u, 0xA8F2, 0xA8F7, 0x1CE9, 0x1CEC,