From: Behdad Esfahbod Date: Fri, 11 May 2012 14:25:02 +0000 (+0200) Subject: [Indic] Add #define UNISCRIBE_BUG_COMPATIBLE 1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=616e692e2950d326b6c46aba5b5bead3cc29d315;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [Indic] Add #define UNISCRIBE_BUG_COMPATIBLE 1 --- diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f22f762..0c6f021 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