Bug 157397 - Khmer does not render correct anymore
Summary: Khmer does not render correct anymore
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Beta 6
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: Beta 8
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 03:38 UTC by Jens Herden
Modified: 2006-04-07 11:02 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Herden 2006-03-11 03:38:05 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.
Comment 1 Wolfgang Rosenauer 2006-03-11 11:49:27 UTC
You have tried with MOZ_ENABLE_PANGO=1 ?
Comment 2 Jens Herden 2006-03-11 15:05:57 UTC
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? 
Comment 3 Wolfgang Rosenauer 2006-03-11 16:03:00 UTC
(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.
Comment 4 Jens Herden 2006-03-11 16:31:27 UTC
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. 
Comment 5 Wolfgang Rosenauer 2006-03-12 08:21:12 UTC
fixed for beta8
Comment 6 Jens Herden 2006-04-07 10:57:56 UTC
I can confirm that this is working in beta9 :-)