Closed Bug 1219211 Opened 9 years ago Closed 6 years ago

Add new Windows 8.1 / Windows 10 font names into default font preferences

Categories

(Core :: Layout: Text and Fonts, defect)

41 Branch
Unspecified
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: shanshandehongxing, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20151014143721

Steps to reproduce:

Hello everyone,

Since Windows 8.1, Microsoft Windows including following new typefaces:

DengXian (Chinese Simplified, sans-serif)
YU Gothic, YU Gothic UI (Japanese, sans-serif)
Yu Mincho (Japanese, serif)

Since upgrated to Windows 10, I found MS Gothic and MS Mincho fonts was removed. Please adding these typefaces into corresponding options at about:config page.

Windows 10 家庭中文版 (“Home Chinese Edition”)
Chinese Simplified
Component: Untriaged → Layout: Text
Product: Firefox → Core
OS: Unspecified → Windows 10
Summary: Add new font names into default font settings → Add new font names into default font preferences
I found these following typefaces also remved after I upgrated to Windows 10:

Traditionl Chinese:
MingLiU/PMingLiU
Japannese:
Meiryo (UI)
Korean:
Batang/BatangChe
Gulim/GulimChe

So please also adding Microsoft JhengHei and Malgun Gothic into default font preferences.
Flags: needinfo?(jfkthame)
Flags: needinfo?(jdaggett)
Summary: Add new font names into default font preferences → Add new Windows 8.1 / Windows 10 font names into default font preferences
Windows 10 ships with different sets of fonts for different locales. Need to research these to come up with pref fontlists that include (1) standard fonts for a given locale-specific install and (2) alternate fonts for the case when the standard fonts are not shipped in other locales.
Flags: needinfo?(jdaggett)
After I upgraded Windows 10, I found I can get those fonts through 设置 (Setting) -> 系统 (System) -> 应用和功能 (Application and function) -> 管理可选功能 (Manage optional function).
(In reply to John Daggett (:jtd) from comment #2)
> Windows 10 ships with different sets of fonts for different locales. Need to
> research these to come up with pref fontlists that include (1) standard
> fonts for a given locale-specific install and (2) alternate fonts for the
> case when the standard fonts are not shipped in other locales.

What if getting a virtual machine from Microsoft[1]?

[1] https://dev.windows.com/en-us/microsoft-edge/tools/vms
A Chinese Wikipedia article is already used these new typefaces for illustrating HTML properties for vertical layout, these typefaces can get the proper effects for corresponding locales even if the browser does not use them. 

https://zh.wikipedia.org/wiki/%E6%9D%B1%E4%BA%9E%E6%96%87%E5%AD%97%E6%8E%92%E5%88%97%E6%96%B9%E5%90%91

Another Chinese Wikipedia article has a table to showing different display effect of some Chinese characters for different locales, which requiring different sets of fonts for different locales. In this table U+623F, U+6E2F, U+6F22, U+76F4, U+7A97, U+89D2, U+8D77, U+9AA8 should displaying different, but they looks the same to me.

https://zh.wikipedia.org/wiki/%E4%B8%AD%E6%97%A5%E9%9F%93%E7%B5%B1%E4%B8%80%E8%A1%A8%E6%84%8F%E6%96%87%E5%AD%97
(In reply to John Daggett (:jtd) from comment #2)
> Windows 10 ships with different sets of fonts for different locales. Need to
> research these to come up with pref fontlists that include (1) standard
> fonts for a given locale-specific install and (2) alternate fonts for the
> case when the standard fonts are not shipped in other locales.

I have found Dism++ (http://www.chuyu.me/) can be used for researching them. Maybe I can giving the results later.
After download and open Dism++, I can get a list for fonts for a given locale-specific install via “可选功能” (Capability) → “显示所有功能” (Show All), it seems to me that Microsoft providing them as capabilities for a given locale-specific version of Windows 10, otherwise they are replaced by alternate fonts for the case when the standard fonts are not shipped in other locales.
I am using simp. Chinese version, so only simp. Chinese capabilities (including fonts) shipped after I upgraded to Windows 10.

Here is my results:

Simp. Chinese: DengXian, FangSong, KaiTi, SimHei
Lao: DokChampa, Lao UI
Bangali: Shnoar Bangla, Vrinda
Hebrew: Aharoni Bold, David, FrankRuehl, Gisha, Levenim MT, Miriam, Miriam Fixed, Narkism, Rod
Ethiopic: Nyala
Thai: giving 54 additional fonts (showing “54种附加字体” only)
Canadian aborigines: Euphemia
Devanagari: Aparajita Kokila, Sanskrit Text, Utsaah
Malayalam: Kartika
Japanese: Meiryo (UI), MS (P)Gothic, MS (P)Mincho, Yu Mincho
Arabic scripts: Aldhabi, Andalis, Arabic typesetting, Microsoft Uighur, Sakkal Majalla, Simplified Arabic, Traditional Arabic, Urdu Typesetting
Telugu: Gautami, Vani
Syriac: Estrangelo Edessa
Korean: Batang(Che), Dotum(Che), Gulim(Che), Gungsuh(Che)
Khmer: DaunPenh, Khmer UI, MoolBoran
Kannada: Tunga
果鲁穆齐语 (maybe Gurmukhi?): Raavi
Pan-European languages (“泛欧语系”): Arial Nova, Gill Sans Nova, Neue Sans Grotesk, Rockwell Nova, Verdana Pro
Oriya: Kalinga
Tamil: Latha, Vijaya
Trad. Chinese: DFKai-SB, (P)MingLiU, MingLiU_HKSCS
Gujarati: Shruti
Sinhalese: Iskoola Pota
Cherokee: Plantagenet Cherokee
Flags: needinfo?(khaledhosny)
(In reply to Benjamin Peng from comment #8)
> FJYI, all the optional fonts users can installed can be found here:
> http://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-
> are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1

So Firefox should following this change, the default font preferences should be updated to adapt the case of some optional fonts as MS Mincho and Batang are not shipped with other locale-specific distrubutions of Windows 10.
Flags: needinfo?(khaledhosny)
(In reply to Krasnaya Ploshchad from comment #9)
> (In reply to Benjamin Peng from comment #8)
> > FJYI, all the optional fonts users can installed can be found here:
> > http://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-
> > are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1
> 
> So Firefox should following this change, the default font preferences should
> be updated to adapt the case of some optional fonts as MS Mincho and Batang
> are not shipped with other locale-specific distrubutions of Windows 10.

Yes, but only on Win 10 (or Win 8.1+?), since on Win 7 there is no Dengxian or Yu Gothic..
(In reply to Benjamin Peng from comment #10)
> (In reply to Krasnaya Ploshchad from comment #9)
> > (In reply to Benjamin Peng from comment #8)
> > > FJYI, all the optional fonts users can installed can be found here:
> > > http://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-
> > > are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1
> > 
> > So Firefox should following this change, the default font preferences should
> > be updated to adapt the case of some optional fonts as MS Mincho and Batang
> > are not shipped with other locale-specific distrubutions of Windows 10.
> 
> Yes, but only on Win 10 (or Win 8.1+?), since on Win 7 there is no Dengxian
> or Yu Gothic..

I don’t think so. To my eyes, these fonts should be add into preferences even if the user is using Win 7. If an user upgrade from Win 7 to Win 10, these fonts will be directly available in Firefox.
(In reply to Krasnaya Ploshchad from comment #11)
> (In reply to Benjamin Peng from comment #10)
> > (In reply to Krasnaya Ploshchad from comment #9)
> > > (In reply to Benjamin Peng from comment #8)
> > > > FJYI, all the optional fonts users can installed can be found here:
> > > > http://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-
> > > > are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1
> > > 
> > > So Firefox should following this change, the default font preferences should
> > > be updated to adapt the case of some optional fonts as MS Mincho and Batang
> > > are not shipped with other locale-specific distrubutions of Windows 10.
> > 
> > Yes, but only on Win 10 (or Win 8.1+?), since on Win 7 there is no Dengxian
> > or Yu Gothic..
> 
> I don’t think so. To my eyes, these fonts should be add into preferences
> even if the user is using Win 7. If an user upgrade from Win 7 to Win 10,
> these fonts will be directly available in Firefox.

What do you even mean by "add"? There is only font choice in preference (for each language and each style)?
By the way, DengXian is a supplemental fonts for Chinese (which means for non-Chinese win 10 it's NOT shipped by default), so there is no way we're going to change to that (the default shipped font for Chinese is still Microsoft Yahei). Same applies to Yu Mincho.

Yu Gothic on the hand, has  replaced Meiryo to become the new default font for Japanese (which means every Win 10 despite language would have this font).
(In reply to Benjamin Peng from comment #12)
> (In reply to Krasnaya Ploshchad from comment #11)
> > (In reply to Benjamin Peng from comment #10)
> > > (In reply to Krasnaya Ploshchad from comment #9)
> > > > (In reply to Benjamin Peng from comment #8)
> > > > > FJYI, all the optional fonts users can installed can be found here:
> > > > > http://answers.microsoft.com/en-us/windows/forum/windows_10-start/some-fonts-
> > > > > are-missing-after-upgrade/95839dfa-0df2-4bc0-875a-fd6b57e61fe4?page=1&auth=1
> > > > 
> > > > So Firefox should following this change, the default font preferences should
> > > > be updated to adapt the case of some optional fonts as MS Mincho and Batang
> > > > are not shipped with other locale-specific distrubutions of Windows 10.
> > > 
> > > Yes, but only on Win 10 (or Win 8.1+?), since on Win 7 there is no Dengxian
> > > or Yu Gothic..
> > 
> > I don’t think so. To my eyes, these fonts should be add into preferences
> > even if the user is using Win 7. If an user upgrade from Win 7 to Win 10,
> > these fonts will be directly available in Firefox.
> 
> What do you even mean by "add"? There is only font choice in preference (for
> each language and each style)?

I just think they should be added into default font preferences as font.name-list.sans-serif.ja. Now it’s clear that Yu Mincho and Malgun Gothic can become the new default font for Japanese and Korean.
Additionaly, MS JhengHei can also become the new default font for Trad. Chinese.
Blocks: windows-10
On Windows 10, MS Gothic and MS PGothic font get back to non Japanese version via KB3140743, so don’t consider to change the default font for Japanese, but Yu Gothic still should be added into font.name-list.monospace.ja and font.name-list.sans-serif.ja options.
On Wikipedia several articles uses lang="<ISO 639 code>" to produce locale-specific visual effects. I have tested the following articles on my computer:

Case 1:

The Wikipedia article Hanja (https://en.wikipedia.org/wiki/Hanja) using lang="ko" for Korean texts. If add Malgun Gothic font into font.name-list.sans-serif.ko option, Some Hanjas would displaying via Malgun Gothic, otherwise use Microsoft YaHei to display.

Case 2:

The Wikipedia article “Traditional Chinese characters” (https://en.wikipedia.org/wiki/Traditional_Chinese_characters) uses lang="zh-Hant" code for orthodox characters, they would get proper effects after adding Microsoft JhengHei into font.name-list.sans-serif.zh-HK and font.name-list.sans-serif.zh-TW options.

Since Malgun Gothic and Microsoft JhengHei become common used typefaces for non-Korean and non-trad. Chinese version of Windows 10, they should be introduced into default font preferences.
If you are looking at default font settings for traditional Chinese, they are all messed up. 

The default sans-serif font of zh-tw and zh-hk is Arial, and the default serif one is Times New Roman.. I mean, they are not even Chinese font.

I get the idea though, they intentionally assign them to Latin fonts in order to exploit the font fallback mechanism (i.e. the fonts listed in font.name-list will be used if default font doesn't include glyphs needed). I still found this implementation very silly anyway.
Google Chrome (as of version 58.0.3029.81) is already made such intergrations, this would helpful to make Hanzi/Hanja/Kanji rendering with their native fonts when a web page definded the locale for them. Open the following pages on Windows without CJK locales would see the effects directly:

https://ko.wikipedia.org/wiki/%EC%9D%BC%EB%B3%B8%EC%96%B4%EC%9D%98_%ED%95%9C%EC%9E%90
https://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%96%B4%EC%9D%98_%ED%95%9C%EC%9E%90
In Fx 57.0, Meiryo, Yu Gothic, Malgun Gothic are already accepted in font.name-list options for Japanese and Korean locale, however Microsoft JhengHei does not listed in font.name-list.sans-serif.zh-HK and font.name-list.sans-serif.zh-TW.
In Firefox 59.0.1, adding Microsoft JhengHei into font.name-list.sans-serif.zh-HK and font.name-list.sans-serif.zh-TW are still valid for web pages with zh-HK and zh-TW locale.
Close this bug in favor of bug 1394709.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.