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

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

Issue 235753003: Don't use default GDI SkFontMgr in getFontFamilyForScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/fonts/win/FontCacheSkiaWin.cpp ('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 1a52c41f75a9423465fced6fa7fa551bdeb839af..75e62187858ad1309fc5b495550788102e1ae260 100644
--- a/Source/platform/fonts/win/FontFallbackWin.h
+++ b/Source/platform/fonts/win/FontFallbackWin.h
@@ -38,14 +38,9 @@
#include <wchar.h>
#include <windows.h>
-namespace WebCore {
+class SkFontMgr;
-// Return a font family that can render |characters| based on
scottmg 2014/04/11 20:48:11 This function appears to be unused, so I just remo
-// what script characters belong to.
-// FIXME: This function needs a total overhaul.
-PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters,
- int length,
- FontDescription::GenericFamilyType);
+namespace WebCore {
// Return a font family that can render |character| based on what script
// that characters belong to.
@@ -53,7 +48,8 @@ PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const U
// the family is returned.
PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
FontDescription::GenericFamilyType,
- UScriptCode* scriptChecked);
+ UScriptCode* scriptChecked,
+ SkFontMgr* fontManager);
} // namespace WebCore
« no previous file with comments | « Source/platform/fonts/win/FontCacheSkiaWin.cpp ('k') | Source/platform/fonts/win/FontFallbackWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698