Japanese pages with UTF-8 encoding render improperly

Bug #209741 reported by Tonohono
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
firefox-3.0 (Ubuntu)
Invalid
Undecided
Rolf Leggewie

Bug Description

Binary package hint: firefox-3.0

I'm using Firefox 3 Beta 5 provided with Hardy.

When navigating to a Japanese page using UTF-8 encoding, rendering issues are experienced. It's difficult to detail the issue in writing, so I've linked a number of screenshots with steps to reproduce the bug.

This appears to effect only Japanese pages using UTF-8. Other non-Western languages using UTF-8 (Arabic, Korean, Chinese, etc.) render with no trouble. Additionally, pages using other Japanese encodings (EUC-JP, Shift_JIS, ISO-2022-JP) render properly.

http://sadisticslinky.com/ja-rendering/u-ja.png
Navigated from ubuntu.com to ja.wikipedia.org and scrolled down a bit.

http://sadisticslinky.com/ja-rendering/u-ja-link.png
Navigated from ubuntu.com to ja.wikipedia.org and ran the cursor over a number of links and input fields.

http://sadisticslinky.com/ja-rendering/ut-jat.png
Switched from ubuntu.com tab to ja.wikipedia.org tab and scrolled down a bit.

http://sadisticslinky.com/ja-rendering/newt-ja.png
Opened a new tab and navigated to ja.wikipedia.org

http://sadisticslinky.com/ja-rendering/ja-scroll.png
Scrolled to the bottom then back to the top of the ja.wikipedia.org page.

Edit: Reflected change from Beta 4 to Beta 5.

description: updated
Revision history for this message
Tonohono (tonohono-deactivatedaccount) wrote :

Huh.
Fixed the issue by setting anti-aliasing to "true" in my .fonts.conf.
<edit mode="assign" name="antialias"> <bool>true</bool> </edit>

Rendering issues are only experienced when it is set to "false".

I've attached my current .fonts.conf in case it's of any use.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you for the report. I have not yet been able to reproduce your problem. Nor do I understand where .fonts.conf comes into play. I don't have such a file and /etc/fonts/fonts.conf does not seem to have any dealings with antialiasing here. Please provide step-by-step instructions on how to reproduce if you do know.

Changed in firefox-3.0:
assignee: nobody → r0lf
status: New → Incomplete
Revision history for this message
Tonohono (tonohono-deactivatedaccount) wrote :

Sorry, I should have been more specific. I meant ~/.fonts.conf
To reproduce the bug, create ~/.fonts.conf with the following, and then log out and in:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="antialias"> <bool>false</bool> </edit>
</match>
</fontconfig>

Upon switching this back to "true" and logging out and back in, the display errors cease.

description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Tonohono, thank you for reporting back. And thank you for providing instructions on how to make the problem go away. Can you also give more information on how to make the problem appear? I can move between sites just fine without experiencing the problems you describe.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 209741] Re: Japanese pages with UTF-8 encoding render improperly

On Tue, May 27, 2008 at 02:54:18PM -0000, Rolf Leggewie wrote:
> Tonohono, thank you for reporting back. And thank you for providing
> instructions on how to make the problem go away. Can you also give more
> information on how to make the problem appear? I can move between sites
> just fine without experiencing the problems you describe.
>

This is a font configuration issue ... If the defaults work well then
this is actually a non-issue.

 tag needs-reassignment.

What fonts are you using?

 affects ubuntu
 status incomplete

 affects ubuntu/firefox-3.0
 status invalid

 - Alexander

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
Rolf Leggewie (r0lf) wrote :

> To reproduce the bug, create ~/.fonts.conf with the following, and then log out and in:

I did that and while the fonts now look very ugly, the effect you were describing did not occur here. Why would you want such ugly-looking fonts anyway?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

unable to reproduce, no further information provided.

Closing. Feel free to reopen or create a new issue with appropriate information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.