Change default Japanese fonts on OS X from Pro to ProN
OS X has contained Hiragino Kaku Gothic/Mincho ProN fonts which adapt JIS X 0213:2004 glyph forms and used them since 10.5. This CL makes Chromium use ProN fonts instead of Pro fonts.
This is in line with Firefox and Safari.
BUG=447843
TEST=On OS X, ProN fonts are used (per dom inspector).
data:text/html,<ul lang="ja"><li>葛<li style="font-family:serif">葛<li style="font-family:sans-serif">葛
Review URL: https://codereview.chromium.org/912263002
Cr-Commit-Position: refs/heads/master@{#321322}
diff --git a/chrome/app/resources/locale_settings_mac.grd b/chrome/app/resources/locale_settings_mac.grd
index 830a747..39f6d769 100644
--- a/chrome/app/resources/locale_settings_mac.grd
+++ b/chrome/app/resources/locale_settings_mac.grd
@@ -167,7 +167,7 @@
<!-- The default value for |WebPreference::standard_font_family_map| for
Japanese script. -->
<message name="IDS_STANDARD_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- Hiragino Kaku Gothic Pro
+ Hiragino Kaku Gothic ProN
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
@@ -179,13 +179,13 @@
<!-- The default value for |WebPreference::serif_font_family_map| for
Japanese script. -->
<message name="IDS_SERIF_FONT_FAMILY_JAPANESE" use_name_for_id="true">
- Hiragino Mincho Pro
+ Hiragino Mincho ProN
</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">
- Hiragino Kaku Gothic Pro
+ Hiragino Kaku Gothic ProN
</message>
<!-- The default value for |WebPreference::standard_font_family_map| for
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb
index 729f736..e1c8376 100644
--- a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb
@@ -1,10 +1,10 @@
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang="ja">
-<translation id="IDS_STANDARD_FONT_FAMILY">Hiragino Kaku Gothic Pro</translation>
+<translation id="IDS_STANDARD_FONT_FAMILY">Hiragino Kaku Gothic ProN</translation>
<translation id="IDS_FIXED_FONT_FAMILY">Osaka-Mono</translation>
-<translation id="IDS_SERIF_FONT_FAMILY">Hiragino Mincho Pro</translation>
-<translation id="IDS_SANS_SERIF_FONT_FAMILY">Hiragino Kaku Gothic Pro</translation>
+<translation id="IDS_SERIF_FONT_FAMILY">Hiragino Mincho ProN</translation>
+<translation id="IDS_SANS_SERIF_FONT_FAMILY">Hiragino Kaku Gothic ProN</translation>
<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
</translationbundle>
diff --git a/ui/strings/translations/app_locale_settings_ja.xtb b/ui/strings/translations/app_locale_settings_ja.xtb
index bcfc6b9d..bdc0865 100644
--- a/ui/strings/translations/app_locale_settings_ja.xtb
+++ b/ui/strings/translations/app_locale_settings_ja.xtb
@@ -8,7 +8,7 @@
<translation id="IDS_WEB_FONT_FAMILY_XP">Arial,Meiryo,'MS PGothic',sans-serif</translation>
</if>
<if expr="is_macosx or is_ios">
- <translation id="IDS_WEB_FONT_FAMILY">Helvetica,Hiragino Kaku Gothic Pro,sans-serif</translation>
+ <translation id="IDS_WEB_FONT_FAMILY">Helvetica,Hiragino Kaku Gothic ProN,sans-serif</translation>
</if>
<if expr="desktop_linux and not chromeos">
<translation id="IDS_WEB_FONT_FAMILY">VL PGothic,Sazanami Gothic,Kochi Gothic,sans-serif</translation>