From 3bf27a9f0e92aa31b464bd3b9fdea5933c9ae8b1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 11 May 2012 11:17:23 +0200 Subject: [PATCH] [Indic] Disable conjuncts when a ZWJ happens Not that the code makes any difference since the presence of ZWJ itself causes the ligature to fail to match anyway. --- src/hb-ot-shape-complex-indic.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index e3f78ce94..e96dd78dd 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -406,12 +406,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff do { j--; - /* Reading the Unicode and OpenType specs, I think the following line - * is correct, but this is not what the test suite expects currently. - * The test suite has been drinking, not me... But disable while - * investigating. - */ - //info[j].mask &= ~mask_array[CJCT]; + info[j].mask &= ~mask_array[CJCT]; if (non_joiner) info[j].mask &= ~mask_array[HALF];