From 616e692e2950d326b6c46aba5b5bead3cc29d315 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 11 May 2012 16:25:02 +0200 Subject: [PATCH] [Indic] Add #define UNISCRIBE_BUG_COMPATIBLE 1 --- src/hb-ot-shape-complex-indic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f22f762b..0c6f0216 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -24,6 +24,7 @@ * Google Author(s): Behdad Esfahbod */ +#define UNISCRIBE_BUG_COMPATIBLE 1 #include "hb-ot-shape-complex-indic-private.hh" @@ -669,7 +670,7 @@ final_reordering_syllable (hb_buffer_t *buffer, * One day when we don't compare to Uniscribe output anymore, we want to * disable this because we believe it would make for superior cursor * positioning. */ - if (1) { + if (UNISCRIBE_BUG_COMPATIBLE) { /* This is what Uniscribe does. Ie. add cluster boundaries after Halant,ZWNJ. * This means, half forms are submerged into the main consonants cluster. * This is unnecessary, and makes cursor positioning harder, but that's what -- GitLab