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

Unified Diff: Source/platform/fonts/win/FontFallbackWin.h

Issue 1311043010: Improve getFallbackFamily() for Unified Han Ideographs on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test Created 5 years, 3 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 | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/win/FontFallbackWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/win/FontFallbackWin.h
diff --git a/Source/platform/fonts/win/FontFallbackWin.h b/Source/platform/fonts/win/FontFallbackWin.h
index b7ec607eaa0c4d0e6e4590a328a308d50833b56e..3bfaec88641d3208240856c3f690df941360a647 100644
--- a/Source/platform/fonts/win/FontFallbackWin.h
+++ b/Source/platform/fonts/win/FontFallbackWin.h
@@ -33,6 +33,7 @@
#include "platform/PlatformExport.h"
#include "platform/fonts/FontDescription.h"
+#include <unicode/locid.h>
#include <unicode/uscript.h>
#include <usp10.h>
#include <wchar.h>
@@ -50,6 +51,7 @@ PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
FontDescription::GenericFamilyType,
UScriptCode* scriptChecked,
SkFontMgr* fontManager);
+PLATFORM_EXPORT UScriptCode scriptCodeForUnifiedHanFromLocale(const icu::Locale&);
} // namespace blink
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/win/FontFallbackWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698