Bug 140902

Summary: layout issue in some web pages with pango enabled
Product: Red Hat Enterprise Linux 4 Reporter: Lawrence Lim <llim>
Component: firefoxAssignee: Christopher Blizzard <blizzard>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: blizzard, caillon, dff, eng-i18n-bugs, jonathanr.pritchard+bugzilla, jturner, petersen, tools-bugs, wtogami
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-23 06:12:09 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:    
Bug Blocks: 158511    
Attachments:
Description Flags
latest version of firefox.
none
firefox with no pango enabled.
none
simpiler test case for above steps none

Description Lawrence Lim 2004-11-26 08:09:12 UTC
Description of problem:
With pango enabled, firefox is unable to display the layout properly
in some web pages.

Version-Release number of selected component (if applicable):
firefox-1.0-4.EL4

How reproducible:
Always

Steps to Reproduce:
1.LANG=zhTW.UTF-8 firefox
2.gp to the following URL, http://tw.news.yahoo.com/
3.
  
Actual results:
layout is not displayed properly. pls see screenshot

Expected results:
should be display properly. pls see screenshot with older version of
firefox with no pango enabled.

Additional info:
Try with firefox-0.10.1-1.0PR1.20, the layout is displayed properly.
However, if I use LANG=zh_TW MOZ_ENABLE_PANGO=1 firefox, i get the
same result as the current version of firefox

Comment 1 Lawrence Lim 2004-11-26 08:11:31 UTC
Created attachment 107474 [details]
latest version of firefox.

Marked the area with the layout problem

Comment 2 Lawrence Lim 2004-11-26 08:12:52 UTC
Created attachment 107475 [details]
firefox with no pango enabled.

Comment 3 Christopher Aillon 2004-11-26 09:55:28 UTC
->blizzard, the man with the pango.

Comment 4 Christopher Blizzard 2004-11-29 20:04:56 UTC
Is it possible for you to get that down to a very small test case?

Comment 6 Leon Ho 2004-12-06 07:11:12 UTC
Created attachment 107931 [details]
simpiler test case for above steps

Comment 7 Leon Ho 2004-12-06 07:17:27 UTC
It works in en_US.UTF-8 but does not work in zh_TW.UTF-8, ja_JP.UTF-8
etc, so it may be some different fonts with width calculation issue.


Comment 8 Warren Togami 2004-12-11 21:00:06 UTC
With en_US.UTF-8 I am seeing the bad layout in the
http://tw.news.yahoo.com/ but not in llch's simpler test case.

Comment 10 Warren Togami 2004-12-11 21:23:29 UTC
Furthermore, I suspect this may only be a case of bad HTML.  Good HTML
would not make assumptions about font size.  If you shrink the font by
one point (use CTRL--) the layout corrects itself.

For this reason I really see no good reason for blocking pango by
default.  Please reconsider for RC... or at least GA.

Comment 12 Jens Petersen 2005-03-18 10:21:19 UTC
This appears to be fixed in fc4test1 at least. :)

Comment 14 Lawrence Lim 2005-05-23 06:12:09 UTC
Pango has only been enabled for indic locales in EL4, hence, the bug is no
longer relevant. However, in FC4, firefox-1.0.4-2, where pango is enabled by
default, I still see layout issue in some web pages.

Closing this bug and created Bug 158511 for tracking the issue in FC.