aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_android.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-06-17 12:07:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-17 12:07:10 -0700
commit77f85adadbc3448f4302559c14d8abf8724160da (patch)
tree9690dc6a19a23d83629d101e285135769da68fe4 /include/ports/SkFontMgr_android.h
parent2a4685f8bb1bf3cf098c5fee78a71e2f4204e428 (diff)
Move Android SkFontMgr::Factory to its own file.
Diffstat (limited to 'include/ports/SkFontMgr_android.h')
-rw-r--r--include/ports/SkFontMgr_android.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ports/SkFontMgr_android.h b/include/ports/SkFontMgr_android.h
index 8d1cafd2cc..e489b161b2 100644
--- a/include/ports/SkFontMgr_android.h
+++ b/include/ports/SkFontMgr_android.h
@@ -12,6 +12,13 @@
class SkFontMgr;
+/**
+ * For test only -- this only affects the default factory.
+ * Load font config from given xml files, instead of those from Android system.
+ */
+SK_API void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackconf,
+ const char* fontsdir);
+
struct SkFontMgr_Android_CustomFonts {
/** When specifying custom fonts, indicates how to use system fonts. */
enum SystemFontUse {