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 335799 - Nepali texts rendered incorrectly
Nepali texts rendered incorrectly
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: General
2.14.x
Other All
: Normal major
: 2.14.x
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-03-24 07:12 UTC by asubedi
Modified: 2007-01-28 22:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Screenshot comparing nepali text rendering by epiphany and gedit (310.91 KB, image/png)
2006-03-24 07:24 UTC, asubedi
Details
Screenshot showing too much space between letters. (404.54 KB, image/jpeg)
2006-03-24 18:07 UTC, asubedi
Details

Description asubedi 2006-03-24 07:12:41 UTC
Please describe the problem:
Some vowels in nepali texts are put on incorrect consonants. Half-letters aren't
combined with next full letter. 

Steps to reproduce:
1. Visit http://kantipuronline.com/kantipur.php
2. Copy some text to Gedit
3. Notice the difference in the text rendered by Epiphany and Gedit


Actual results:
Gedit renders the text correctly, epiphany does not. 

Expected results:
I would have expected epiphany to render the text like gedit

Does this happen every time?
Yes.

Other information:
Epiphany is started with MOZ_PANGO_ENABLED=1.
Comment 1 asubedi 2006-03-24 07:24:44 UTC
Created attachment 61889 [details]
Screenshot comparing nepali text rendering by epiphany and gedit

The screenshot shows how nepali text rendering by epiphany and gedit differ--gedit's way is correct. We can see the inconsistency in the heading of the news. Compare the second word of the heading. Gedit put the vowel ि on the second letter whereas epiphany puts it on the third letter. In the same word, in epiphany, a half-letter is denoted by a dash below the letter ( ् ), gedit combines the half-letter with the next letter.
Comment 2 Christian Persch 2006-03-24 11:49:50 UTC
Thanks for the bug report!

Can you try the following:
Make sure all epiphany windows are closed and no instance is running (check with "ps aux | grep epiphany" shell command). Then start epiphany from a shell with

export MOZ_ENABLE_PANGO=1
epiphany

Does that fix the rendering?

Also, can you please paste the output of "locale" command here? Thanks!
Comment 3 asubedi 2006-03-24 18:05:53 UTC
That fixes the problem, but introduces another one: the space between letters is too much in justify mode.

Output of locale command is:

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Comment 4 asubedi 2006-03-24 18:07:41 UTC
Created attachment 61932 [details]
Screenshot showing too much space between letters.
Comment 5 Christian Persch 2006-04-03 17:16:12 UTC
The text spacing in letters in justify mode when using pango is a mozilla bug.

I'm going to introduce a way to enable pango when the locale is one of those that require pango rendering (ne and a few others).
Comment 6 Christian Persch 2006-04-09 19:54:00 UTC
Fixed in CVS. The fix will go into the next patch release. Thank you for your bug report.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 7 asubedi 2006-10-29 03:17:10 UTC
Hi,

I am now using version 2.16.1 (the one in Ubuntu Edgy) and the problem of too much text spacing in justify mode still exists. For example compare the pages:

http://kantipuronline.com/kantipur.php (this is fine)
http://kantipuronline.com/kolnepalinews.php?&nid=89788 (this is messed up)

I have enabled pango using:

export MOZ_ENABLE_PANGO=1

Output of locale command is:

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Comment 8 Christian Persch 2006-10-29 12:26:44 UTC
Does firefox show the page correctly using MOZ_ENABLE_PANGO ?

Btw, you shouldn't need MOZ_ENABLE_PANGO in epiphany, since it automatically uses it if you have "ne" locale. (Or you can use gconf to enable it, set "/apps/epiphany/web/enable_pango" key to true.)
Comment 9 asubedi 2006-10-29 19:39:46 UTC
Firefox shows the page incorrectly using either MOZ_ENABLE_PANGO = 1 or 0. 

Thanks for the info about gconf key. I have enabled it there now.
Comment 10 Christian Persch 2006-10-29 20:04:07 UTC
So that means it is a bug in the mozilla rendering engine, not in epiphany.
Comment 11 Christian Persch 2007-01-28 22:42:34 UTC
Definitely a gecko bug (and probably fixed in xulrunner 1.9).