GNOME Bugzilla – Bug 481203
[ta_IN] Some conjunct characters not appearing with proper shape
Last modified: 2009-04-27 16:56:54 UTC
Please describe the problem:
Opened by Parag (email@example.com) on 2006-12-08 02:47 EST [reply] Private
+++ This bug was initially created as a clone of Bug #217353 +++
Description of problem:
This is with tamil font problem. Following combinations was found not
rendering properly after fixing font file for bug 217341.
gsub : U+0BB6 U+0BBF
gpos : U+0BB6 U+0BC0
Version-Release number of selected component (if applicable):
and modified tamil font file attached in bug 217341
Steps to Reproduce:
1. Open gedit
2. Activate SCIM with CTRL+SPACE.
3. Select RAWCODE from the scim-table in Others
4. Type the unicode sequentially as given in the 1st comment but without 'U' and
5. Observe the result.
combinations are appearing as split and 2 characters
Combinations should appear as single final character image
-- Additional comment from firstname.lastname@example.org on 2006-11-27 07:32 EST --
Created an attachment (id=142164) 
This patch solves the reported bug
-- Additional comment from email@example.com on 2006-12-04 13:15 EST --
LingNing, any comments on this?
-- Additional comment from firstname.lastname@example.org on 2006-12-04 21:36 EST --
U+0BB6 is existing in Unicode 5, it is consonant. But it is not existing in
IndicOTCharClass of Pango, it is only "_xx", so it need be modified to "_ct".
The patch of parag did this.
And I think there are many characters' class which need be modified because of
updating in Unicode 5 in IndicOTCharClass of Pango.
Steps to reproduce:
Does this happen every time?
Created attachment 127113 [details]
Correct & incorrect renderings of "sha shaa shi shii ..."
The bottom font selection dialog is as rendered by the vanilla Pango version from Mandriva Linux's pango-1.10.0-3mdk.
The top dialog is rendered using Pango compiled from pango-1.10.0-3mdk.src.rpm with the change that in modules/indic/indic-ot-class-tables.c, in the array tamlCharClasses, entry 55 (corresponding to unicode character
0BB6) is changed to _ct instead of _xx.
Since the latest version of the above file, at http://svn.gnome.org/viewvc/pango/trunk/modules/indic/indic-ot-class-tables.c?revision=2684&view=markup also shows _xx instead of _ct, this bug still exists in the latest Pango trunk.
Created attachment 127115 [details] [review]
Patch to fix the issue
This is a patch to fix the issue taken against the current version of the file available at http://svn.gnome.org/svn/pango/trunk/modules/indic/indic-ot-class-tables.c.
The 1.24.1 (http://ftp.gnome.org/pub/GNOME/sources/pango/1.24/pango-1.24.1.tar.gz ) released today (14-Apr-2009) has this bug fixed. Here's the relevant hunk in the diff file in http://ftp.gnome.org/pub/GNOME/sources/pango/1.24/pango-1.24.0-1.24.1.diff.gz :
@@ -167,7 +167,7 @@
_xx, _xx, _ma, _mp, _xx, _iv, _iv, _iv, _iv, _iv, _iv, _xx, _xx, _xx, _iv, _iv, /* 0B80 - 0B8F */
_iv, _xx, _iv, _iv, _iv, _ct, _xx, _xx, _xx, _ct, _ct, _xx, _ct, _xx, _ct, _ct, /* 0B90 - 0B9F */
_xx, _xx, _xx, _ct, _ct, _xx, _xx, _xx, _ct, _ct, _ct, _xx, _xx, _xx, _ct, _ct, /* 0BA0 - 0BAF */
- _ct, _ct, _ct, _ct, _ct, _ct, _xx, _ct, _ct, _ct, _xx, _xx, _xx, _xx, _dr, _dr, /* 0BB0 - 0BBF */
+ _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _xx, _xx, _xx, _xx, _dr, _dr, /* 0BB0 - 0BBF */
_da, _dr, _dr, _xx, _xx, _xx, _dl, _dl, _dl, _xx, _s1, _s2, _s3, _vr, _xx, _xx, /* 0BC0 - 0BCF */
_xx, _xx, _xx, _xx, _xx, _xx, _xx, _dr, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, /* 0BD0 - 0BDF */
_xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, /* 0BE0 - 0BEF */
But the other bug http://bugzilla.gnome.org/show_bug.cgi?id=481223 on U+0B83 has not got fixed yet.
I have posted bug report to ICU which also has the same bug on SHA in IndicClassTables.cpp and same solution works. my bug report : http://bugs.icu-project.org/trac/ticket/6841