Index: include/ports/SkTypeface_android.h |
diff --git a/include/ports/SkTypeface_android.h b/include/ports/SkTypeface_android.h |
index c199bee29e1883ea37b2a103be85f4fc58c9969b..b25ad18597b45c5bef1158f393b09885e1165f5e 100644 |
--- a/include/ports/SkTypeface_android.h |
+++ b/include/ports/SkTypeface_android.h |
@@ -39,5 +39,15 @@ SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, const char* lang, SkSt |
SK_API void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackconf, |
const char* fontsdir); |
+/** |
+ * For test only. |
+ * Returns the information set by SkUseTestFontConfigFile. |
+ * TODO: this should be removed once SkFontConfigInterface_android is removed, |
+ * and then Chromium should be given a better way to set up it's test environment |
+ * than SkUseTestFontConfigFile. |
+ */ |
+void SkGetTestFontConfiguration(const char** mainconf, const char** fallbackconf, |
+ const char** fontsdir); |
+ |
#endif // #ifdef SK_BUILD_FOR_ANDROID |
#endif // #ifndef SkTypeface_android_DEFINED |