1 /* 2 * Copyright 2012 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 9 #ifndef SkTypeface_android_DEFINED 10 #define SkTypeface_android_DEFINED 11 12 #include "SkTypeface.h" 13 14 #ifdef SK_BUILD_FOR_ANDROID 15 16 /** 17 * For test only. 18 * Load font config from given xml files, instead of those from Android system. 19 */ 20 SK_API void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackconf, 21 const char* fontsdir); 22 23 #endif // #ifdef SK_BUILD_FOR_ANDROID 24 #endif // #ifndef SkTypeface_android_DEFINED 25