Japanese font is badly on Firefox 52

UNCONFIRMED
Unassigned

Status

()

P3
normal
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: kerberos0818, Unassigned, NeedInfo)

Tracking

52 Branch
x86_64
Windows 8.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
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)

Updated

2 years ago
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
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.
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]
You need to log in before you can comment on or make changes to this bug.