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
Created attachment 107474 [details] latest version of firefox. Marked the area with the layout problem
Created attachment 107475 [details] firefox with no pango enabled.
->blizzard, the man with the pango.
Is it possible for you to get that down to a very small test case?
Created attachment 107931 [details] simpiler test case for above steps
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.
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.
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.
This appears to be fixed in fc4test1 at least. :)
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.