[cjk-fonts] Update default CJK fonts for Windows
* "Noto CJK" fonts are added to standard, serif, and
sans-serif for JA, KR, SC, and TC.
The font names with "CJK" are for the TrueType Collections
(TTCs), and without are for language-specific subsets. For
when both TTCs and language-specific subsets are installed,
TTCs are given lower priorities because they are bigger, and
thus slower to load.
* "BIZ UDGothic" is added to the fixed font for JA.
These strings are used to initialize the font settings
(chrome://settings/fonts).
Bug: 343302583
Skip-Translation-Screenshots-Check: True
Change-Id: I764ab324981e495115cbbcb630c7bb515b21a255
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5626377
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1315021}
diff --git a/chrome/app/resources/locale_settings_win.grd b/chrome/app/resources/locale_settings_win.grd
index f00bcb9..86222480 100644
--- a/chrome/app/resources/locale_settings_win.grd
+++ b/chrome/app/resources/locale_settings_win.grd
@@ -230,32 +230,32 @@
<!-- The default value for |WebPreference::standard_font_family_map| for
Japanese script. -->
<message name="IDS_STANDARD_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- ,Meiryo,Yu Gothic
+ ,Noto Sans JP,Noto Sans CJK JP,Meiryo,Yu Gothic
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
Japanese script. -->
<message name="IDS_FIXED_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- MS Gothic
+ ,BIZ UDGothic,MS Gothic
</message>
<!-- The default value for |WebPreference::serif_font_family_map| for
Japanese script. -->
<message name="IDS_SERIF_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- ,Yu Mincho,MS PMincho
+ ,Noto Serif JP,Noto Serif CJK JP,Yu Mincho,MS PMincho
</message>
<!-- The default value for |WebPreference::sans_serif_font_family_map| for
Japanese script. -->
<message name="IDS_SANS_SERIF_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- ,Meiryo,Yu Gothic
+ ,Noto Sans JP,Noto Sans CJK JP,Meiryo,Yu Gothic
</message>
<!-- The default value for |WebPreference::standard_font_family_map| for
Korean script. -->
<message name="IDS_STANDARD_FONT_FAMILY_KOREAN" use_name_for_id="true">
- Malgun Gothic
+ ,Noto Sans KR,Noto Sans CJK KR,Malgun Gothic
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
@@ -267,13 +267,13 @@
<!-- The default value for |WebPreference::serif_font_family_map| for
Korean script. -->
<message name="IDS_SERIF_FONT_FAMILY_KOREAN" use_name_for_id="true">
- Batang
+ ,Noto Serif KR,Noto Serif CJK KR,Batang
</message>
<!-- The default value for |WebPreference::sans_serif_font_family_map| for
Korean script. -->
<message name="IDS_SANS_SERIF_FONT_FAMILY_KOREAN" use_name_for_id="true">
- Malgun Gothic
+ ,Noto Sans KR,Noto Sans CJK KR,Malgun Gothic
</message>
<!-- The default value for |WebPreference::cursive_font_family_map| for
@@ -285,7 +285,7 @@
<!-- The default value for |WebPreference::standard_font_family_map| for
Simplified Chinese script. -->
<message name="IDS_STANDARD_FONT_FAMILY_SIMPLIFIED_HAN" use_name_for_id="true">
- Microsoft YaHei
+ ,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
@@ -297,13 +297,13 @@
<!-- The default value for |WebPreference::serif_font_family_map| for
Simplified Chinese script. -->
<message name="IDS_SERIF_FONT_FAMILY_SIMPLIFIED_HAN" use_name_for_id="true">
- Simsun
+ ,Noto Serif SC,Noto Serif CJK SC,Simsun
</message>
<!-- The default value for |WebPreference::sans_serif_font_family_map| for
Simplified Chinese script. -->
<message name="IDS_SANS_SERIF_FONT_FAMILY_SIMPLIFIED_HAN" use_name_for_id="true">
- Microsoft YaHei
+ ,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei
</message>
<!-- The default value for |WebPreference::cursive_font_family_map| for
@@ -315,7 +315,7 @@
<!-- The default value for |WebPreference::standard_font_family_map| for
Traditional Chinese script. -->
<message name="IDS_STANDARD_FONT_FAMILY_TRADITIONAL_HAN" use_name_for_id="true">
- Microsoft JhengHei
+ ,Noto Sans TC,Noto Sans CJK TC,Microsoft JhengHei
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
@@ -327,13 +327,13 @@
<!-- The default value for |WebPreference::serif_font_family_map| for
Traditional Chinese script. -->
<message name="IDS_SERIF_FONT_FAMILY_TRADITIONAL_HAN" use_name_for_id="true">
- PMingLiU
+ ,Noto Serif TC,Noto Serif CJK TC,PMingLiU
</message>
<!-- The default value for |WebPreference::sans_serif_font_family_map| for
Traditional Chinese script. -->
<message name="IDS_SANS_SERIF_FONT_FAMILY_TRADITIONAL_HAN" use_name_for_id="true">
- Microsoft JhengHei
+ ,Noto Sans TC,Noto Sans CJK TC,Microsoft JhengHei
</message>
<!-- The default value for |WebPreference::cursive_font_family_map| for
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb
index 3a1cf81..c2a7920 100644
--- a/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang="ja">
-<translation id="IDS_STANDARD_FONT_FAMILY">,Meiryo,Yu Gothic</translation>
-<translation id="IDS_FIXED_FONT_FAMILY">MS Gothic</translation>
-<translation id="IDS_SERIF_FONT_FAMILY">,Yu Mincho,MS PMincho</translation>
-<translation id="IDS_SANS_SERIF_FONT_FAMILY">,Meiryo,Yu Gothic</translation>
+<translation id="IDS_STANDARD_FONT_FAMILY">,Noto Sans JP,Noto Sans CJK JP,Meiryo,Yu Gothic</translation>
+<translation id="IDS_FIXED_FONT_FAMILY">,BIZ UDGothic,MS Gothic</translation>
+<translation id="IDS_SERIF_FONT_FAMILY">,Noto Serif JP,Noto Serif CJK JP,Yu Mincho,MS PMincho</translation>
+<translation id="IDS_SANS_SERIF_FONT_FAMILY">,Noto Sans JP,Noto Sans CJK JP,Meiryo,Yu Gothic</translation>
<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
</translationbundle>
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb
index af86dd0..c0fe5318 100644
--- a/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang="ko">
-<translation id="IDS_STANDARD_FONT_FAMILY">Malgun Gothic</translation>
+<translation id="IDS_STANDARD_FONT_FAMILY">,Noto Sans KR,Noto Sans CJK KR,Malgun Gothic</translation>
<translation id="IDS_FIXED_FONT_FAMILY">Gulimche</translation>
-<translation id="IDS_SERIF_FONT_FAMILY">Batang</translation>
-<translation id="IDS_SANS_SERIF_FONT_FAMILY">Malgun Gothic</translation>
+<translation id="IDS_SERIF_FONT_FAMILY">,Noto Serif KR,Noto Serif CJK KR,Batang</translation>
+<translation id="IDS_SANS_SERIF_FONT_FAMILY">,Noto Sans KR,Noto Sans CJK KR,Malgun Gothic</translation>
<translation id="IDS_CURSIVE_FONT_FAMILY">Gungsuh</translation>
<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb
index 70a5288..8cf226a 100644
--- a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang="zh-CN">
-<translation id="IDS_STANDARD_FONT_FAMILY">Microsoft YaHei</translation>
+<translation id="IDS_STANDARD_FONT_FAMILY">,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei</translation>
<translation id="IDS_FIXED_FONT_FAMILY">NSimsun</translation>
-<translation id="IDS_SERIF_FONT_FAMILY">Simsun</translation>
-<translation id="IDS_SANS_SERIF_FONT_FAMILY">Microsoft YaHei</translation>
+<translation id="IDS_SERIF_FONT_FAMILY">,Noto Serif SC,Noto Serif CJK SC,Simsun</translation>
+<translation id="IDS_SANS_SERIF_FONT_FAMILY">,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei</translation>
<translation id="IDS_CURSIVE_FONT_FAMILY">KaiTi</translation>
<translation id="IDS_MINIMUM_FONT_SIZE">12</translation>
<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">12</translation>