[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
Mon Jan 26 22:18:04 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 #7 from Padmanabhan V. K. <bugzillas+padREMOVETHISdu at gmail.com>  2009-01-26 17:18:02 EDT ---
Created an attachment (id=330034)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=330034)
untested patch for Lohit-Telugu.sfd

I hand edited http://fedorahosted.org/lohit/browser/trunk/Lohit-Telugu.sfd for
my suggested changes and a few more changes and created the attached patch.

The changes made are:
1. Every "GlyphClass:" line is fixed to reflect if the glyph is a "mark" (4) or
a "ligature" (3). [For the specific issue at hand, changing "GlyphClass:" for
all below base forms ("*.blwf" & glyphs got by substituting those, "glyph471,"
"U0C24_U0C4D.blwf_U0C30_U0C4D.blwf.blws" & "glyph473") is enough.]
2. Lookup flags of "Above Base Substitutions in Telugu lookup 1" and "Halant
Forms in Telugu lookup 317" is changed from 0 to 8 to ignore marks. [For the
specific issue at hand, the second change is enough.]
3. What seem to be typos in "Ligature2:" lines are fixed -- "U0C38_U0C4D.haln
U0C1F U0C30_U0C4D.blwf" -> "U0C38_U0C4D.haln U0C24 U0C30_U0C4D.blwf" and
"U0C37_U0C4D.haln U0C24 U0C30_U0C4D.blwf" -> "U0C37_U0C4D.haln U0C1F
U0C30_U0C4D.blwf." [These are of course unrelated to this bug. The
modifications are to "Ligature2:" lines for the glyphs
"U0C38_U0C24_U0C4D.blwf_U0C30_U0C4D.blwf.blws" and
"U0C37_U0C1F_U0C4D.blwf_U0C30_U0C4D.blwf.blws."]
4. What seem to be erroneous "akhn" rules for consonant sequences without
halanths -- "U0C38 U0C24 U0C30 U0C40" -> "U0C38_U0C4D.haln U0C24_U0C40.abvs
U0C30_U0C4D.blwf" and "U0C37 U0C1F U0C30 U0C40" -> "U0C37_U0C4D.haln
U0C1F_U0C40.abvs U0C30_U0C4D.blwf." [These are also unrelated to this bug. The
modifications are to "Ligature2:" lines for the glyphs
"U0C38_U0C24_U0C30_U0C40.akhn" and "U0C37_U0C1F_U0C30_U0C40.akhn." The new
sequences I have put are inspired by the "akhn" rules fixed in step 3 above.]

The extra changes in 1 and 2 allow better rendering for rendering engines that
do not position the base consonant and the matra immediately next to each
other. E.g. before the change in
http://svn.gnome.org/viewvc/pango?limit_changes=100&view=revision&revision=2107
Pothana2000 rendered consonant + "ai-matra (0x0C48)" correctly as it ignored
the intervening "ai length mark (0x0C56)" when combining the consonant with the
"e-matra (0x0C46)." These changes will allow Lohit Telugu to also handle this
case with renderers other than pango.

-- 
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 fonts-bugs mailing list