Use better default fonts on Windows for Chinese, Japanese and Korean

NEW
Unassigned

Status

()

Core
Layout: Text
3 years ago
2 months ago

People

(Reporter: Gingerbread Man, Unassigned)

Tracking

(Depends on: 3 bugs, {intl})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

3 years ago
Created attachment 8429797 [details]
Before and after comparisons - Wikipedia main page

Windows Vista introduced CJK ClearType fonts that look nice and smooth. They're also available as free downloads for Windows XP. It would improve the out of the box experience if the old jagged fonts weren't used by default when the better ones are available.

Related: bug 960935.

Microsoft YaHei (Chinese Simplified)
http://www.microsoft.com/en-us/download/details.aspx?id=14577
Also, apparently when Firefox is downloaded from www.mozillaonline.com / firefox.com.cn, it actually installs Microsoft YaHei in order to use it as the default.
See bug 644883 for details.

Microsoft JhengHei (Chinese Traditional)
http://www.microsoft.com/en-us/download/details.aspx?id=12072

Meiryo (Japanese)
http://www.microsoft.com/en-us/download/details.aspx?id=10550

Meiryo UI was introduced in Windows 7. It's available as a free download for Windows Vista and Server 2008, but not XP.
http://www.microsoft.com/en-us/download/details.aspx?id=24941
http://www.microsoft.com/en-us/download/details.aspx?id=5572

Malgun Gothic (Korean)
http://www.microsoft.com/en-us/download/details.aspx?id=10490

Updated

3 years ago
Duplicate of this bug: 1101469

Comment 2

2 years ago
For Japanese, IE 11 changed sans-serif font to Meiryo though the default font is still MS PGothic.
http://msdn.microsoft.com/en-us/library/ie/dn467844.aspx
# Gecko doesn't have font settings corresponding to IE's "default font", do it?

Chromium recently changed both default and sans-serif fonts to Meiryo
https://code.google.com/p/chromium/issues/detail?id=368568

We may as well change default fonts.

Comment 3

2 years ago
Make Meiryo the highest priority sans-serif font on Windows?

Kato-san, Nakano-san, opinions?
Flags: needinfo?(masayuki)
Flags: needinfo?(m_kato)
I think that this change might be OK, but my concern is...

- Meiryo has no Italic font.  So if we set font.name.sans-serif.ja is "Meiryo", Italic doesn't work without font-family.  It might be breaking web and Firefox UI.
- I think ClearType only work with DirectWrite.  If Direct2D is disabled by any reason such as blocking by driver version, font rendering isn't smooth.

I think we should watch feedback by Google's change.  That change isn't uplifted to Google Chrome beta/stable.
Flags: needinfo?(m_kato)
I think that this is very risky for Japanese websites which don't specify font-family at least for now. My web pages don't specify font-family property, then, both IE11 and Chromium (41.0.2259.0) still use MS PGothic.

One of big difference between MS PGothic and Meiryo is that Meiry has very tall internal-leading. This means that the used value of line-height: normal; in Gecko will be changed. This may cause breaking some websites... (Our normal line-height is computed with internal-leading and external leading: http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsHTMLReflowState.cpp#2487 of eCompensateLeading case)
Flags: needinfo?(masayuki)

Comment 6

2 years ago
> I think we should watch feedback by Google's change.

I agree because the situations are more complicated than I think.

> One of big difference between MS PGothic and Meiryo is that Meiry has very tall internal-leading.

Hmm... I also worried that Meiryo's tall internal-leading causes odd rendering of ruby texts which are currently displayed as inline (and not tested) though it may be separate issue.
Chrome stable is changed to Meiryo.  When I look SNS and blogs, there is a lot of feedback of both positive and negative.  Both seems to be same percentage.

This change seems to become breaking web page because character width/height is different of MS P Gothic...
(In reply to Takeshi Kurosawa from comment #6)
> Hmm... I also worried that Meiryo's tall internal-leading causes odd
> rendering of ruby texts which are currently displayed as inline (and not
> tested) though it may be separate issue.

I can confirm that Meiryo makes ruby text look much farther with ruby base than the current default font.
> My web pages don't specify font-family property, then, both IE11 and Chromium (41.0.2259.0) still use MS PGothic.

Hmm, current Google Chrome use Meiryo in default settings. On the other hand, I realized odd behavior of IE 11 (on Win 8.1). I realized that my IE 11's default font setting is still "MS PGothic". When I reset IE's settings, I see IE renders my site with Meiryo. However, after restarting my computer (because IE said it's necessary), then, the default font setting is restored to "MS PGothic". I'm still not sure why my IE hate Miryo, though.

This seems that not all users of IE 11 may be reading web sites with MS PGothic...

(In reply to Makoto Kato (:m_kato) from comment #7)
> Chrome stable is changed to Meiryo.  When I look SNS and blogs, there is a
> lot of feedback of both positive and negative.  Both seems to be same
> percentage.
> 
> This change seems to become breaking web page because character width/height
> is different of MS P Gothic...

I wonder whether it is worthwhile to change our default font to "better" look fonts even though we break some web site compatibility.

At least in Japan, most users commenting in forums, twitter, etc comment only negative fact. This may make damage our marketing share. We should sensitive to this fact.

As far as I know, users who complain about the quality of MS PGothic changes settings themselves or use MacType (hack tool of font rendering). In other words, such users have enough skill to solve this problem by themselves.

So, the most important point if we should change default font settings is, changing font settings cause increasing our market share or keeping chance to get new users (when new users tests all browsers to decide their new default browser). I think that changing default settings *might* be better for the latter case. But I guess that it's not greater than spreading native comments in forums and SNS.

So, my current idea is, we should keep current settings until we will see a lot of users who complain about our conservative font choice. However, such situation might never come because web sites can specify font-family with CSS, therefore, users must see same font in new web sites.
Created attachment 8595713 [details]
Screenshot of Meiryo with border-bottom in Japanese major newpaper site

This is one of the most important issue of Meiryo.

Meiryo causes too tall inline box. Therefore, border-bottom and border-top are rendered too far from the glyph and may be overlapped with previous or next line.

This occurs with UA stylesheet of <abbr> and <acronym>. Testcase is here:
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=5976
Depends on: 1157076
(Reporter)

Comment 11

2 years ago
(In reply to Gingerbread Man from comment #0)
> Microsoft YaHei (Chinese Simplified)

It's the default proportional font starting with Firefox 38.

Updated

2 years ago
Depends on: 1164279

Comment 12

a year ago
Windows 10 ships with Yu Gothic & Yu Mincho Japanese fonts, does Microsoft Edge on Win10 uses these 2 fonts as their default Japanese fonts or still MS PGothic?
Created attachment 8710743 [details]
Windows font test

From this page, it seems to me that Edge on Windows 10 uses 'MS Mincho' as their default Japanese serif font, while Firefox and Chrome currently use 'MS PMincho'.

Yu Mincho/Gothic have the same issue as Meiryo that, they have a larger padding than previous, which could break layout of some existing pages.
Edge on Japanese Windows 10 uses Meiryo for Sans-Serif (Serif isn't good to read on screen due to complicated Kanji characters). However, if web pages don't specify font-family, MS PGothic is used. So, on Edge, font-familiy: initial; is different from font-family: serif; and font-family: sans-serif;...
Oh, but specifying font-family: initial; rendered as font-faimily: serif; even on Japanese page...
Depends on: 1354004
You need to log in before you can comment on or make changes to this bug.