[Bug 476427] [te_IN] - Consonant+Virama+Consonant+Virama+space renders the second virama as a separate glyph in lohit-telugu font

bugzilla at redhat.com bugzilla at redhat.com
Sun Jan 25 19:40:48 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=476427





--- Comment #6 from Padmanabhan V. K. <bugzillas+padREMOVETHISdu at gmail.com>  2009-01-25 14:40:47 EDT ---
Created an attachment (id=329951)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=329951)
Debug messages produced by my local version of pango

Actually we don't need various "MarkAttachClasses" to fix this bug. We can just
make the ligation rules for "haln" say all types of marks should be ignored
(using "8" instead of "2560" above) while applying the rule, and ensure that
all below base forms are flagged as "mark." This is sufficient for ya +
wide-below-base-ra + halant --haln-> ya-halant + wide-below-base-ra.

I made the following change to Lohit-Telugu.sfd and created a new lohit-te.ttf
from that. The modified font renders "U+0c2f U+0c4d U+0c30 U+0c4d" correctly:

--- /tmp/orig/Lohit-Telugu.sfd        2009-01-24 18:10:48.000000000 +0530
+++ /tmp/Lohit-Telugu.sfd       2009-01-26 00:08:06.000000000 +0530
@@ -33780,7 +33780,7 @@
  760 170 760 170 760 243 c 1,99,-1
  760 243 l 1,13,14
 EndSplineSet
-Ligature: 0 0 'haln' U0C2F U0C4D
+Ligature: 8 0 'haln' U0C2F U0C4D
 EndChar
 StartChar: U0C30_U0C4D.haln
 Encoding: 420 -1 420
@@ -36649,7 +36649,7 @@
 StartChar: U0C30_U0C4D.blwf
 Encoding: 464 -1 464
 Width: 0
-GlyphClass: 2
+GlyphClass: 4
 Flags: W
 AnchorPoint: "Anchor-0" -324 -56 mark 0
 Fore
@@ -39468,7 +39468,7 @@
 StartChar: glyph495
 Encoding: 499 -1 499
 Width: 0
-GlyphClass: 2
+GlyphClass: 4
 Flags: W
 AnchorPoint: "Anchor-0" -492 -51 mark 0
 Fore

The attachment contains the debug messages my pango modification produces for
Pothana2000, Lohit Telugu, and my modified Lohit Telugu.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list