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

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

Issue 1525653002: Use Ebrima as fallback font for Tifinagh in Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed expected Created 5 years 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/platform/win/inspector-protocol/layout-fonts/tifinagh-expected.txt ('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 732e5c8ee358a25e26ba3f9a61cf478f6c89ff7e..ead47f9c9aac28a7c79148ddc029fc2ee854b943 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
@@ -173,6 +173,7 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
static const UChar* thaiFonts[] = {L"tahoma", L"Leelawadee UI", L"Leelawadee", 0};
static const UChar* hebrewFonts[] = {L"david", L"Segoe UI", 0};
static const UChar* arabicFonts[] = {L"tahoma", L"Segoe UI", 0};
+ static const UChar* tifinaghFonts[] = {L"ebrima", 0};
static const UChar* georgianFonts[] = {L"sylfaen", L"Segoe UI", 0};
static const UChar* armenianFonts[] = {L"sylfaen", L"Segoe UI", 0};
static const UChar* canadianAboriginalFonts[] = {L"euphemia", L"Gadugi", 0};
@@ -206,6 +207,7 @@ void initializeScriptFontMap(ScriptToFontMap& scriptFontMap, SkFontMgr* fontMana
{USCRIPT_THAI, thaiFonts},
{USCRIPT_HEBREW, hebrewFonts},
{USCRIPT_ARABIC, arabicFonts},
+ {USCRIPT_TIFINAGH, tifinaghFonts},
{USCRIPT_GEORGIAN, georgianFonts},
{USCRIPT_ARMENIAN, armenianFonts},
{USCRIPT_CANADIAN_ABORIGINAL, canadianAboriginalFonts},
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/inspector-protocol/layout-fonts/tifinagh-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698