aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_android.h
diff options
context:
space:
mode:
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 {