Bugzilla – Bug 157397
Khmer does not render correct anymore
Last modified: 2006-04-07 11:02:41 UTC
Firefox 1.5 for SL 10.0 does display Khmer correct but Firefox from beta6 does not. The support for Khmer comes from Pango, so I assume that Pango is not used anymore. I read the info about the environment variable to control the use of Pango but whatever I set there does not have any impact. This probably affects other complex script languages as well! If you have Khmer fonts installed you may look here: http://www.khmeros.info/drupal/?q=km You will get many dotted circles that are not supposed to be there.
You have tried with MOZ_ENABLE_PANGO=1 ?
No I did not but MOZ_ENABLE_PANGO=1 does the trick! I guess I will not be the only one who will get fooled by this because: 1. in SL 10.0 Pango is enabled by default and you can use MOZ_DISABLE_PANGO to switch it of. 2. the release notes of SL 10.1 are also talking about MOZ_DISABLE_PANGO and not about how to enable it. I don't know what lead to the decision to invert the behavior but from the point of view of Khmer, or any other script with complex script layout, it would be better to have Pango enabled after the installation. Would it be possible to enable Pango at least for some languages during installation?
(In reply to comment #2) > 1. in SL 10.0 Pango is enabled by default and you can use MOZ_DISABLE_PANGO to > switch it of. No. in SL 10.0 there is no Pango support in Firefox at all. The inofficial Firefox packages for 10.0 just are not up to date as they are for 10.1 betas. The 10.0 package will have the same behaviour once the 10.1 Firefox package is finally released and we sync both up. > 2. the release notes of SL 10.1 are also talking about MOZ_DISABLE_PANGO and > not about how to enable it. The release notes might not be up to date. This is a bug. Karl, would you please take care of that? We support both MOZ_DISABLE_PANGO=1 and MOZ_ENABLE_PANGO=1 Both will turn off the automatic behaviour which turns Pango on for some languages and will force the wanted behaviour. > I don't know what lead to the decision to invert the behavior but from the > point of view of Khmer, or any other script with complex script layout, it > would be better to have Pango enabled after the installation. > > Would it be possible to enable Pango at least for some languages during > installation? This is already done. Please have a look at /usr/bin/firefox and see the section where the Pango stuff is done. Please tell me what locale code is used for the special language. We only can use the locale environment and can't turn on/off by websites.
OK now I understand more clearly, thanks :-) If you (or someone else) would add "km*" for Khmer to the list of locale I think this bug could get closed.
fixed for beta8
I can confirm that this is working in beta9 :-)