summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-24 21:07:05 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-24 21:07:05 +0000
commit090d07015de50c1b805d447a81df56f362d2979a (patch)
treec833365a622a78d7aa1f30ad09fdd817d9b50450
parent843acf5e0c4452ef32099b4120ef965d83605a37 (diff)
downloadpango-090d07015de50c1b805d447a81df56f362d2979a.tar.gz
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
2007-05-24 Behdad Esfahbod <behdad@gnome.org> 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
-rw-r--r--ChangeLog8
-rw-r--r--modules/indic/indic-ot-class-tables.c2
-rw-r--r--modules/indic/indic-ot.c16
3 files changed, 9 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index ef96515c..4c2ff4c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
+ 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.
+
+2007-05-24 Behdad Esfahbod <behdad@gnome.org>
+
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
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*/