pango r2563 - in branches/pango-1-18: . modules/indic
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2563 - in branches/pango-1-18: . modules/indic
- Date: Fri, 8 Feb 2008 23:50:33 +0000 (GMT)
Author: behdad
Date: Fri Feb 8 23:50:33 2008
New Revision: 2563
URL: http://svn.gnome.org/viewvc/pango?rev=2563&view=rev
Log:
2008-02-08 Behdad Esfahbod <behdad gnome org>
Bug 504810 â Samvruthokaram (combination of U+0D41 and U+0D4D) is not
rendered correctly
Patch from Praveen A
* modules/indic/indic-ot-class-tables.c:
* modules/indic/indic-ot.c (indic_ot_reorder):
"Fix" it.
Modified:
branches/pango-1-18/ChangeLog
branches/pango-1-18/modules/indic/indic-ot-class-tables.c
branches/pango-1-18/modules/indic/indic-ot.c
Modified: branches/pango-1-18/modules/indic/indic-ot-class-tables.c
==============================================================================
--- branches/pango-1-18/modules/indic/indic-ot-class-tables.c (original)
+++ branches/pango-1-18/modules/indic/indic-ot-class-tables.c Fri Feb 8 23:50:33 2008
@@ -270,7 +270,7 @@
#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 )
+#define MLYM_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT | SF_PROCESS_ZWJ)
#define SINH_SCRIPT_FLAGS (SF_MPRE_FIXUP | SF_NO_POST_BASE_LIMIT | SF_PROCESS_ZWJ)
/*
Modified: branches/pango-1-18/modules/indic/indic-ot.c
==============================================================================
--- branches/pango-1-18/modules/indic/indic-ot.c (original)
+++ branches/pango-1-18/modules/indic/indic-ot.c Fri Feb 8 23:50:33 2008
@@ -259,6 +259,12 @@
case CC_NUKTA:
case CC_VIRAMA:
case CC_AL_LAKUNA:
+ /* patch for rendering fix for Malayalam SAMVRUTHOKARA by suresh */
+ if (chars[prev - 1] == 0x0D41) {
+ writeChar(&output, chars[prev], prev, blwf_p);
+ break;
+ }
+ /* end patch */
writeChar(&output, C_DOTTED_CIRCLE, prev, blwf_p);
writeChar(&output, chars[prev], prev, blwf_p);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]