Bug 461722

Summary: [RHEL5] [Indic] garbage Indic characters appearing instead of ascii
Product: Red Hat Enterprise Linux 5 Reporter: A S Alam <aalam>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.3CC: eng-i18n-bugs, gecko-bugs-nobody, huzaifas, llim, mshao, petersen, pnemade, stransky, tao
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-05 12:32:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 458428, 460865    
Bug Blocks: 462316    
Attachments:
Description Flags
screenshot of reproduction
none
Patch is available from upstream.
none
updated patch for 3.0.4 none

Description A S Alam 2008-09-10 07:36:22 UTC
+++ This bug was initially created as a clone of Bug #460865 +++

Created an attachment (id=315503)
Firefox broken Rendering

Description of problem: 
while using firefox with certain web-page, English text is broken and shown Character in locale presently system has. I have Punjabi (pa_IN) default and Firefox is showing character in Punjabi with those locale. Screenshot with Yellow line "showing" Punjabi Unicode Characters, which are "NOT Junk". Those Website has only English contents

I have following website with problem:
http://bugzilla.redhat.com/
http://docs.fedoraproject.org/release-notes/
(not it is not limited to those only, other website also have problem, while not all)

While http://www.bbc.co.uk/ is working fine

Version-Release number of selected component (if applicable):
firefox-3.0.1-1.fc10.i386
pango-1.21.5-1.fc10.i386
cairo-1.7.4-1.fc10.i386


How reproducible:
90%

Steps to Reproduce:
1. Login to Punjabi Locale (pa_IN)
2. start firefox
3. open website http://docs.fedoraproject.org/release-notes/
  
Actual results:
All content should be in English as per website language

Expected results:
some characters in few lines are shown in non-english locale

Additional info:
1) if you copy-paste content in Text Editor, then it is in English.
2) other language (hi-IN) also tested and have same problem exist

--- Additional comment from aalam on 2008-09-02 03:21:53 EDT ---

Created an attachment (id=315504)
Fedora docs page

--- Additional comment from aalam on 2008-09-02 03:22:28 EDT ---

Created an attachment (id=315505)
fedora docs page in Hindi (hi_IN) locale

--- Additional comment from aalam on 2008-09-02 03:23:09 EDT ---

Note: all those websites working fine (without problem) in English locale (en_US)

--- Additional comment from aalam on 2008-09-02 03:29:36 EDT ---

Note 2: While download upstream version (localized in pa-IN locale) and run with those website, Result are bug-free
firefox-3.0.1.tar.bz2

--- Additional comment from tfu on 2008-09-09 23:06:56 EDT ---

requested by Jens Petersen (#27995)

--------------

RHEL5.3
firefox-3.0.2-2.el5
xulrunner-1.9.0.2-4.el5
yelp-2.16.0-21.el5

Comment 1 Lawrence Lim 2008-09-12 06:39:41 UTC
Please confirm if there's any issue with en_US locale.

Comment 2 A S Alam 2008-09-12 06:54:36 UTC
there is no such issue if locale is en_US

Comment 3 Matěj Cepl 2008-09-12 09:08:16 UTC
It is weird, cannot reproduce neither with LANG={zh_CN,cs_CZ,hi_IN} firefox. Probably I haven't installed proper non-European fonts, which packages should I install to reproduce this?

Comment 4 A S Alam 2008-09-12 09:42:02 UTC
Package is fonts-hindi 
and Please try to login with Hindi Environment for Gnome Desktop (firefox interface will be Hindi hi_IN)

Comment 6 Parag Nemade 2008-09-15 11:13:37 UTC
I am unable to reproduce this bug in rawhide with firefox-3.0.1-1.fc10 build
installed.
I actually tried to update EL5 system to firefox-3.0.1-1.el5 but somehow got
dependency problems so unable to test firefox-3.0.1-1.el5 build on EL5 system.
And latest build firefox-3.0.2-2.el5 is giving above described problem.

Comment 7 Parag Nemade 2008-09-16 05:15:59 UTC
Ok. I got this bug successfully reproduced in rawhide when I start firefox in Indic locales  bn, gu, hi, mr, pa, ta 
so bug started existing from I guess firefox-3.0-1 build

Comment 8 Parag Nemade 2008-09-16 05:32:03 UTC
As written in firefox-mozconfig firefox builds in EL5 are not using system cairo
as_add_options --disable-system-cairo

Comment 10 Matěj Cepl 2008-09-19 17:31:46 UTC
Attached screenshots to RHEL4 bug, although they were done with RHEL5.
attachment 317212 [details] -- firefox illustrating non-reproducing
attachment 317215 [details] -- screenshot in hindi-logged in kvm session

Comment 11 Matěj Cepl 2008-09-22 15:15:03 UTC
Guys, help me to reproduce this, please? I just cannot reproduce this. I tried
even logging with hi_IN in login, all gedit and other Gnome programs are in
Hindi (I suppose), but http://docs.fedoraproject.org/release-notes/ still looks
good for me. I have installed fonts-hindi and yet I cannot reproduce it -- see
the attached screenshot in the above comment.

Comment 12 Jens Petersen 2008-09-23 08:46:06 UTC
Matej, can you try <http://fedoraproject.org/static/firefox/>?
I found it easy to reproduce on Fedora with that.

Comment 13 Matěj Cepl 2008-09-23 10:23:49 UTC
Created attachment 317461 [details]
screenshot of reproduction

Yup, that's much better! Thanks

Comment 14 Martin Stransky 2008-10-30 09:58:52 UTC
Created attachment 321902 [details]
Patch is available from upstream.

Comment 15 Parag Nemade 2008-11-10 09:54:27 UTC
For me above patch does not working on 3.0.2 source. Bug is still present for 3.0.x branch. But its fixed in upstream for 3.1 branch. Can we have above patch backported to 3.0.x release?

Comment 16 Parag Nemade 2008-11-10 11:11:38 UTC
Thanks Martin, I got upstream patch working now. Test rpms are available at http://paragn.fedorapeople.org/firefox-3.0.x/

Comment 17 Martin Stransky 2008-11-10 11:47:00 UTC
Created attachment 323059 [details]
updated patch for 3.0.4

There's an updated patch for 3.0.4 - i tested it and works fine in firefox 3.0.4.

Comment 23 RHEL Program Management 2009-01-27 20:43:37 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 24 Martin Stransky 2009-02-05 12:32:37 UTC
Should be fixed now by 3.0.6.