aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-20 14:15:52 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-20 14:15:52 +0000
commitf210f505ffffccc15ae5e91f8ccb9763ba7fc152 (patch)
treeac6aa386048a429420594b5a1119096f46e04819 /include
parentcb62650ecfd323a1ac215103a4d3106faad3c3cd (diff)
add new API for gdi fonts (not hooked up yet)
git-svn-id: http://skia.googlecode.com/svn/trunk@8253 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/ports/SkTypeface_win.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ports/SkTypeface_win.h b/include/ports/SkTypeface_win.h
index fdf38e26cc..fea5f474a0 100644
--- a/include/ports/SkTypeface_win.h
+++ b/include/ports/SkTypeface_win.h
@@ -28,4 +28,12 @@ SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
*/
SK_API void SkLOGFONTFromTypeface(const SkTypeface* typeface, LOGFONT* lf);
+/**
+ * Set an optional callback to ensure that the data behind a LOGFONT is loaded.
+ * This will get called if Skia tries to access the data but hits a failure.
+ * Normally this is null, and is only required if the font data needs to be
+ * remotely (re)loaded.
+ */
+SK_API void SkTypeface_SetEnsureLOGFONTAccessibleProc(void (*)(const LOGFONT&));
+
#endif