Commit d659b2a8 authored by taken.spc's avatar taken.spc Committed by Commit bot

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>&#x845b;<li style="font-family:serif">&#x845b;<li style="font-family:sans-serif">&#x845b;

Review URL: https://codereview.chromium.org/912263002

Cr-Commit-Position: refs/heads/master@{#321322}
parent b25403d9
......@@ -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
......
<?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>
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment