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

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

Issue 1784913003: Try newer Chinese and Japanese fonts before old fonts Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | 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 12cb486b07769dafd5237389795cb7d5142fd6a9..cd77d47858d0a185b9a3e58e63d5078c89abc9dc 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
@@ -151,8 +151,8 @@ 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* hiraganaFonts[] = { L"Microsoft YaHei",
+ L"Yu Gothic", L"MS PGothic", 0 };
static const UChar* imperialAramaicFonts[] = { L"Segoe UI Historic", 0 };
static const UChar* inscriptionalPahlaviFonts[] = { L"Segoe UI Historic",
0 };
@@ -198,8 +198,8 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
static const UChar* runicFonts[] = { L"Segoe UI Historic",
L"Segoe UI Symbol", 0 };
static const UChar* shavianFonts[] = { L"Segoe UI Historic", 0 };
- static const UChar* simplifiedHanFonts[] = { L"simsun", L"Microsoft YaHei",
- 0 };
+ static const UChar* simplifiedHanFonts[] = { L"Microsoft YaHei",
+ L"simsun", 0 };
static const UChar* sinhalaFonts[] = { L"Iskoola Pota", L"AksharUnicode",
L"Nirmala UI", 0 };
static const UChar* soraSompengFonts[] = { L"Nirmala UI", 0 };
@@ -215,8 +215,8 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
static const UChar* tibetanFonts[] = { L"Microsoft Himalaya", L"Jomolhari",
L"Tibetan Machine Uni", 0 };
static const UChar* tifinaghFonts[] = { L"Ebrima", 0 };
- static const UChar* traditionalHanFonts[] = { L"pmingliu",
- L"Microsoft JhengHei", 0 };
+ static const UChar* traditionalHanFonts[] = { L"Microsoft JhengHei",
+ L"pmingliu", 0 };
static const UChar* vaiFonts[] = { L"Ebrima", 0 };
static const UChar* yiFonts[] = { L"Microsoft Yi Baiti", L"Nuosu SIL",
L"Code2000", 0 };
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698