From d19f8e85702a1e473efe2f02027984dcc127602a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 23 May 2014 15:45:50 -0400 Subject: [PATCH] [indic] Support U+A8F2..A8F7,1CE9..1CEC,1CEE..1CF1 --- src/hb-ot-shape-complex-indic.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 89fc46cc..230c8e4d 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -221,6 +221,14 @@ set_indic_properties (hb_glyph_info_t &info) 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, + 0x1CEE, 0x1CF1))) + { + cat = OT_Symbol; + ASSERT_STATIC ((int) INDIC_SYLLABIC_CATEGORY_AVAGRAHA == OT_Symbol); + } if (unlikely (u == 0x17D1)) cat = OT_X; -- GitLab