Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1081)

Unified Diff: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp

Issue 1751973003: Modernize Japanese system font fallback list for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-rendering-vertical.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
index 7c1ef8861ee3afea9ab3bdecfce8f5dc45ab0157..c2a17f5d38224c6bbca1660a44dfc67c81ed28d7 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
@@ -151,8 +151,6 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
static const UChar* gurmukhiFonts[] = { L"Nirmala UI", L"Raavi", 0 };
static const UChar* hangulFonts[] = { L"Malgun Gothic", L"Gulim", 0 };
static const UChar* hebrewFonts[] = { L"David", L"Segoe UI", 0 };
- static const UChar* hiraganaFonts[] = { L"MS PGothic", L"Yu Gothic",
- L"Microsoft YaHei", 0 };
static const UChar* imperialAramaicFonts[] = { L"Segoe UI Historic", 0 };
static const UChar* inscriptionalPahlaviFonts[] = { L"Segoe UI Historic",
0 };
@@ -160,10 +158,8 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
0 };
static const UChar* javaneseFonts[] = { L"Javanese Text", 0 };
static const UChar* kannadaFonts[] = { L"Tunga", L"Nirmala UI", 0 };
- static const UChar* katakanaFonts[] = { L"MS PGothic", L"Yu Gothic",
- L"Microsoft YaHei", 0 };
- static const UChar* katakanaOrHiraganaFonts[] = { L"MS PGothic",
- L"Yu Gothic", L"Microsoft YaHei", 0 };
+ static const UChar* katakanaOrHiraganaFonts[] = { L"Meiryo", L"Yu Gothic",
+ L"MS PGothic", L"Microsoft YaHei", 0 };
static const UChar* kharoshthiFonts[] = { L"Segoe UI Historic", 0 };
// Try Khmer OS before Vista fonts as it goes along better with Latin
// and looks better/larger for the same size.
@@ -245,13 +241,13 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
{ USCRIPT_GURMUKHI, gurmukhiFonts },
{ USCRIPT_HANGUL, hangulFonts },
{ USCRIPT_HEBREW, hebrewFonts },
- { USCRIPT_HIRAGANA, hiraganaFonts },
+ { USCRIPT_HIRAGANA, katakanaOrHiraganaFonts },
{ USCRIPT_IMPERIAL_ARAMAIC, imperialAramaicFonts },
{ USCRIPT_INSCRIPTIONAL_PAHLAVI, inscriptionalPahlaviFonts },
{ USCRIPT_INSCRIPTIONAL_PARTHIAN, inscriptionalParthianFonts },
{ USCRIPT_JAVANESE, javaneseFonts },
{ USCRIPT_KANNADA, kannadaFonts },
- { USCRIPT_KATAKANA, katakanaFonts },
+ { USCRIPT_KATAKANA, katakanaOrHiraganaFonts },
{ USCRIPT_KATAKANA_OR_HIRAGANA, katakanaOrHiraganaFonts },
{ USCRIPT_KHAROSHTHI, kharoshthiFonts },
{ USCRIPT_KHMER, khmerFonts },
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-rendering-vertical.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698