Closed Bug 1349839 Opened 7 years ago Closed 2 years ago

Japanese font is badly on Firefox 52

Categories

(Core :: Graphics: Text, defect, P3)

52 Branch
x86_64
Windows 8.1
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kerberos0818, Unassigned, NeedInfo)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170316213829

Steps to reproduce:

update to firefox52


Actual results:

japanese font looking dirty and not beautiful.



Expected results:

japanese font looking good .
hopely like before versions.
We need more information to identify the problem.
1. What Japanese font are you using? MS Gothic? Meiryo? Yu Gothic? Another third-party font?
2. What web pages do you see the problem? Could you post a sample URL or a test case and screenshots?
3. Is HWA enabled on your system? (Please go to about:support and copy the information.)
4. Do you see any difference if you set the "gfx.content.azure.backends" pref value to "direct2d1.1,cairo" via about:config?
Flags: needinfo?(kerberos0818)
Component: Untriaged → Graphics: Text
OS: Unspecified → Windows 8.1
Product: Firefox → Core
Hardware: Unspecified → x86_64
Summary: firefox52 japanese font is badly → Japanese font is badly on Firefox 52
The left one is Firefox 53, and the right one is Chrome 57

I am not sure whether it is what the reporter said or not, but we do render Japanese text differently comparing with Chrome.
I have tried Amazon Japan website with different gfx.content.azure.backends and layers.acceleration.disalbed configuration and it doesn't affect text rendering.

And I tested same website on macOS, the font looks fine, at least no difference comparing to Chrome.

I suspect there is a regression somewhere makes us fail to enable ClearType on Windows platform.
(In reply to Michael Leu[:Lenzak](UTC+8) from comment #2)
> Created attachment 8854761 [details]
> Screen Shot 2017-04-05 at 5.20.40 PM.png
> 
> The left one is Firefox 53, and the right one is Chrome 57
> 
> I am not sure whether it is what the reporter said or not, but we do render
> Japanese text differently comparing with Chrome.

Firefox 52 uses MS PGothic as the default sans-serif while Chrome uses Meiryo on Win7, Yu Gothic on Win 10.
MS PGothic has bitmaps. If a CJK font has bitmaps, the bitmaps will always be used regardless of the ClearType setting. This is by design.
Bug 548311 will fix the "problem".
Depends on: 548311
Priority: -- → P3
Should this be wontfix or duped?
Whiteboard: [gfx-noted]

I think what's happening here is that Firefox is rendering Japanese Kanji using Chinese font when Japanese Kanji are different from the original Chinese. This happens on Firefox 97.0 on Arch Linux, Pop_OS, macOS, and Android.

(In reply to krmetcalf76 from comment #6)

I think what's happening here is that Firefox is rendering Japanese Kanji using Chinese font when Japanese Kanji are different from the original Chinese. This happens on Firefox 97.0 on Arch Linux, Pop_OS, macOS, and Android.

What does "here" or "this" refer? Comment #0 does not even give a URL, so we can't tell if it is the same as your problem or not. Both sides of comment #3 screenshot are rendered with a Japanese font (see the "戻" glyph). Please file a new bug instead of taking over an existing bug.

Closing as the reporter does not respond.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: