Commit 0da2f92e authored by ebraminio's avatar ebraminio Committed by Commit bot

Use Courier New for Arabic monospace text on Windows

Before DirectWrite, default monospace font was Courier New but while
adding support for DirectWrite, it is switched to Consolas which lacks
Arabic glyphs. This is to improve the situation.

BUG=466754

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

Cr-Commit-Position: refs/heads/master@{#321446}
parent 8349cde7
......@@ -163,6 +163,12 @@
Times New Roman
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
Arabic script. -->
<message name="IDS_FIXED_FONT_FAMILY_ARABIC" use_name_for_id="true">
Courier New
</message>
<!-- The default value for |WebPreference::fixed_font_family_map| for
Cyrillic script. -->
<message name="IDS_FIXED_FONT_FAMILY_CYRILLIC" use_name_for_id="true">
......
......@@ -214,6 +214,7 @@ const FontDefault kFontDefaults[] = {
{ prefs::kWebKitFixedFontFamilyTraditionalHan,
IDS_FIXED_FONT_FAMILY_TRADITIONAL_HAN },
#elif defined(OS_WIN)
{ prefs::kWebKitFixedFontFamilyArabic, IDS_FIXED_FONT_FAMILY_ARABIC },
{ prefs::kWebKitSansSerifFontFamilyArabic,
IDS_SANS_SERIF_FONT_FAMILY_ARABIC },
{ prefs::kWebKitStandardFontFamilyCyrillic,
......
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