Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/ports/SkFontMgr_android.h

Issue 1190993002: Move Android SkFontMgr::Factory to its own file. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/ports.gyp ('k') | include/ports/SkTypeface_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ports/SkFontMgr_android.h
diff --git a/include/ports/SkFontMgr_android.h b/include/ports/SkFontMgr_android.h
index 8d1cafd2cc7e45f0fc3921996ed5b9cf8dc1dcdc..e489b161b2a602629f6f6a17efeb8b1d9492b5ff 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 {
« no previous file with comments | « gyp/ports.gyp ('k') | include/ports/SkTypeface_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698