After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 481198 - Malayalam fonts rendered incorrectly
Malayalam fonts rendered incorrectly
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: indic
unspecified
Other All
: Normal normal
: ---
Assigned To: Pango Indic
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-09-28 08:24 UTC by LingNing Zhang
Modified: 2008-02-11 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description LingNing Zhang 2007-09-28 08:24:50 UTC
Please describe the problem:
https://bugzilla.redhat.com/show_bug.cgi?id=242016

Opened by Manilal (libregeek@gmail.com)  	 on 2007-06-01 05:53 EST  	[reply]  	   Private

Description of problem:
The malayalam fonts rendered wrongly in mozilla firefox. This occurs for Chillu
and some koottaksharams like "nte". There are also issues when rendering
ya(?)+chandrakala(?)+va (?) and some other similar characters. I have attached a
screenshot which indicates the issues.

Version-Release number of selected component (if applicable):
Fedora Core 6
pango-1.14.10-1.fc6
firefox-1.5.0.12-1.fc6
fonts-malayalam-2.1.5-1.fc6

How reproducible:
Always

Steps to Reproduce:
1.Visit the page http://ml.wikipedia.org/wiki/%E0%B4%86%E0%B4%A8  or
http://ml.wikipedia.org/wiki/ in firefox
2.
3.
  
Actual results:
Refer the attachment

Expected results:


Additional info:


Comment #1 From Manilal (libregeek@gmail.com) 	on 2007-06-01 05:53 EST 	[reply] 	Private

Created an attachment (id=155867) [edit]
Screenshot of malaylam page in firefox


Comment #2 From A S Alam (aalam@redhat.com) 	on 2007-06-01 06:07 EST 	[reply] 	Private

have you same problem in konqueror and gedit?


Comment #3 From Manilal (libregeek@gmail.com) 	on 2007-06-01 06:32 EST 	[reply] 	Private

Created an attachment (id=155868) [edit]
Screenshot of malayalam page in Konqueror and Gedit


Comment #4 From Manilal (libregeek@gmail.com) 	on 2007-06-01 06:34 EST 	[reply] 	Private

When compared with konqueror, firefox has less errors. But it's interesting to
see that chillu errors are solved in konqueror but there are lots of
koottaksharam errors.


Comment #5 From A S Alam (aalam@redhat.com) 	on 2007-06-01 06:39 EST 	[reply] 	Private

ok, so can you please open another bug for qt (rendering) for koottaksharam?


Comment #6 From A S Alam (aalam@redhat.com) 	on 2007-06-01 06:41 EST 	[reply] 	Private

and yes, are you please add unicode for those combinations like

0d0c + od4d+????

you can use Malayalam Unicode chart from:
http://www.unicode.org/charts/PDF/U0D00.pdf


Comment #7 From Manilal (libregeek@gmail.com) 	on 2007-06-01 07:06 EST 	[reply] 	Private

I am not an expert in unicode and has less knowledge about how the glyphs are
stored. However I will try to get help from some experts about this issue.


Comment #8 From Praveen A (pravi.a@ippimail.com) 	on 2007-06-01 08:02 EST 	[reply] 	Private

Lets look at the issues one by one. 

1) Not rendering chillu properly
This has got to do with wrong input and not a problem with rendering
Earlier pango used to render consonent+chandrakala without ZWJ as chillu now
when it is corrected text entered earlier has also need to be corrected.

?+?+ZWJ - ???
2) ???????????? is due to a wrong sequence selected in Microsoft Open Type
specification
It can be fixed using suruma patch for pango ( http://suruma.sarovar.org ) and a
font modified to work with it.

3) ????????????? This is bug in pango that need to be fixed
http://bugzilla.gnome.org/show_bug.cgi?id=441654

For now it can be worked around by adding a ZWNJ after ???
?+?+ZWJ+ZWNJ+?+?+?

4) ??? samvruthokaram is not yet supported. I guess it has to be supported at font
level.

5)  ????????? refer 3

6) ???? the problem is bug introduced by Fedora developers to fix rendering of
lohit_ml new lipi font by adding an exception and which broke the traditional
lipi rendering.

http://bugzilla.gnome.org/show_bug.cgi?id=357790

It could be solved by including popular traditional lipi fonts like Rachana and
Anjali to Fedora

Most of the issues except for 3 can be solved by using suruma patched pango.


Comment #9 From Manilal (libregeek@gmail.com) 	on 2007-06-01 08:09 EST 	[reply] 	Private

I have some more screenshots using the rachana and anjali fonts. The anjali
seems to have less errors in firefox. The anjali fonts can be downloaded from :

https://savannah.nongnu.org/forum/forum.php?forum_id=4730
http://varamozhi.wikia.com/wiki/Varamozhi


Comment #10 From Manilal (libregeek@gmail.com) 	on 2007-06-01 08:14 EST 	[reply] 	Private

Created an attachment (id=155873) [edit]
Screenshots of firefox and konqueror using Rachana and Anjali



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Rahul Bhalerao 2008-02-10 16:42:30 UTC
The issues of Chillu characters is solved in bug 504810. The issues related to Ya and Va are due to wrong font files. Current Pango is in accordance to uniscibe and OpenType specs for these two consonants and it works for properly developed fonts.

Please close this bug :)
Comment 2 Behdad Esfahbod 2008-02-11 06:14:03 UTC
Thanks.