From 090d07015de50c1b805d447a81df56f362d2979a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 24 May 2007 21:07:05 +0000 Subject: =?UTF-8?q?Bug=20357790=20=E2=80=93=20Rendering=20problem=20for=20?= =?UTF-8?q?malayalam=20consonant=20RA=20(U+0D30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2007-05-24 Behdad Esfahbod Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Commit remaining fix for malayalam. svn path=/trunk/; revision=2320 --- modules/indic/indic-ot-class-tables.c | 2 +- modules/indic/indic-ot.c | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) (limited to 'modules') diff --git a/modules/indic/indic-ot-class-tables.c b/modules/indic/indic-ot-class-tables.c index 5c561765..963dcfa5 100644 --- a/modules/indic/indic-ot-class-tables.c +++ b/modules/indic/indic-ot-class-tables.c @@ -270,7 +270,7 @@ static const IndicOTSplitMatra sinhSplitTable[] = {{0x0DD9, 0x0DCA}, {0x0DD9, 0x #define TAML_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT) #define TELU_SCRIPT_FLAGS (SF_MATRAS_AFTER_BASE | 3) #define KNDA_SCRIPT_FLAGS (SF_MATRAS_AFTER_BASE | 3) -#define MLYM_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT | SF_PROCESS_ZWJ) +#define MLYM_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT ) #define SINH_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT | SF_PROCESS_ZWJ) /* diff --git a/modules/indic/indic-ot.c b/modules/indic/indic-ot.c index e764184c..ca3ca7f0 100644 --- a/modules/indic/indic-ot.c +++ b/modules/indic/indic-ot.c @@ -420,22 +420,6 @@ glong indic_ot_reorder(const gunichar *chars, const glong *utf8_offsets, glong c writeChar(&output, chars[i], /*i*/ prev, nukt_p); } - /* for the special conjuction of Cons+0x0d4d+0x0d31 or Cons+0x0d4d+0x0d30 of Malayalam */ - if ((baseConsonant - 2 >= 0) && - (chars[baseConsonant - 1] == 0x0d4d) && - ((chars[baseConsonant] == 0x0d31) || - (chars[baseConsonant] == 0x0d30)) && - ((chars[baseConsonant - 2] >= 0x0d15) && - (chars[baseConsonant - 2] <= 0x0d39))) { - swapChars (&output, -1, -3); - - if (mpreFixups) { - if (mpreFixups->fFixupCount > 0) { - mpreFixups->fFixupCount--; - } - } - } - if ((class_table->scriptFlags & SF_MATRAS_AFTER_BASE) != 0) { gboolean is_for_0C48 = FALSE; if (output.fOutChars != NULL) { /*for 0x0C48 of Telugu*/ -- cgit v1.2.1