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