Red Hat Bugzilla – Bug 157825
[PATCH] Indic languages's Rendering is incorrect
Last modified: 2007-11-30 17:11:06 EST
Description of problem:
after login Language Envirnoment, Open Yelp,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Rendering for Punjabi is incorrect
Rendering should be correct
1) Interface is in English, although, /usr/share/locale/pa/LC_MESSAGES/yelp.mo
file is present
2) Rendering is Like Mozilla before MOG_ENABLE_PANGO varible
I confirmed this problem at FC4.
for latest update yelp-2.12.0, rendering is still incorrect!
problme exist for all Indic locales with following version in Fedora Core Rawhide:
invoking yelp with MOZ_ENABLE_PANGO=1 would help in this case. so making an
wrapper script may be easier way to solve this issue?
(In reply to comment #5)
> invoking yelp with MOZ_ENABLE_PANGO=1 would help in this case. so making an
> wrapper script may be easier way to solve this issue?
Pango is now on by default, so that should not do anything at all. The only
environment variable that is taken now by gecko-based browsers in rawhide is
MOZ_DISABLE_PANGO. If that is set in the environment, then pango will obviously
be disabled. Is it possible that this is lingering in a .bashrc file or something?
Ok, found it. it was yelp fault and in src/yelp-main.c:
/* workaround for bug #329461 */
env = g_getenv ("MOZ_ENABLE_PANGO");
if (env == NULL ||
*env == '\0' ||
g_setenv ("MOZ_DISABLE_PANGO", "1", TRUE);
I'm not sure if that problem still happens on the latest GtkMozEmbed though (at
least it looks good after some testing). if that's ok, can we just get rid of
the above code? if not, we need to turn it on for only Indic.
hmm, according to the mentioned bug, epiphany has the same code to turn off
pango rendering. We need to verify if the problem still exists, and if so,
fix it before removing the hack from both.
I have turned on pango by default in yelp and epiphany now.
patch wasn't applied it seems ;)
Patch is definitively applied in the current rawhide package.
What problems are you seeing ?
it is not working with latest Rawhide, tested with following package:
Created attachment 135635 [details]
patch for yelp.spec
(In reply to comment #11)
> Patch is definitively applied in the current rawhide package.
> What problems are you seeing ?
Or you may forgot to commit your changes on your working repository to the
server perhaps. I've attached a patch to the latest revision of yelp.spec
gah, I looked at the epiphany spec...
should be fixed in 2.16.0-2.fc6