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

Unified Diff: include/ports/SkTypeface_win.h

Issue 1607083003: Allow custom font collection for DirectWrite font manager. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: More refactoring to remove an AddRef call Created 4 years, 11 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 | src/ports/SkFontMgr_win_dw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkTypeface_win.h
diff --git a/include/ports/SkTypeface_win.h b/include/ports/SkTypeface_win.h
index b7373986c9396c88ca33a359c6e57588a2f5bbe1..da728ca3c0cfc635a4f79cd209ed13e2ae26115a 100644
--- a/include/ports/SkTypeface_win.h
+++ b/include/ports/SkTypeface_win.h
@@ -40,9 +40,11 @@ SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
class SkFontMgr;
class SkRemotableFontMgr;
struct IDWriteFactory;
+struct IDWriteFontCollection;
SK_API SkFontMgr* SkFontMgr_New_GDI();
-SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL);
+SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
+ IDWriteFontCollection* collection = NULL);
/**
* Creates an SkFontMgr which renders using DirectWrite and obtains its data
« no previous file with comments | « no previous file | src/ports/SkFontMgr_win_dw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698