aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-03-21 06:55:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-21 06:55:52 -0700
commitfe7ada7f0dc109cc8cf220607c2bd8c09bd1fa5e (patch)
tree53bec3fd08a6537b34bec413af86135545000669 /include/ports
parenta6359365887048ef055196de75591311d7a015f0 (diff)
Make FreeType usable on Windows.
Add missing functionality so that pdfium can use FreeType from Windows. Add an empty custom font manager so pdfium can use FreeType without any local fonts. R=bungeman@google.com Review URL: https://codereview.chromium.org/1817633002
Diffstat (limited to 'include/ports')
-rw-r--r--include/ports/SkFontMgr_custom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ports/SkFontMgr_custom.h b/include/ports/SkFontMgr_custom.h
index ad37686ebb..53be63db1b 100644
--- a/include/ports/SkFontMgr_custom.h
+++ b/include/ports/SkFontMgr_custom.h
@@ -15,4 +15,7 @@ class SkFontMgr;
/** Create a custom font manager which scans a given directory for font files. */
SK_API SkFontMgr* SkFontMgr_New_Custom_Directory(const char* dir);
+/** Create a custom font manager that contains no built-in fonts. */
+SK_API SkFontMgr* SkFontMgr_New_Custom_Empty();
+
#endif // SkFontMgr_custom_DEFINED