OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The Android Open Source Project | 2 * Copyright 2011 The Android Open Source Project |
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 #ifndef SKFONTCONFIGPARSER_ANDROID_H_ | 8 #ifndef SKFONTCONFIGPARSER_ANDROID_H_ |
9 #define SKFONTCONFIGPARSER_ANDROID_H_ | 9 #define SKFONTCONFIGPARSER_ANDROID_H_ |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 namespace SkFontConfigParser { | 95 namespace SkFontConfigParser { |
96 | 96 |
97 /** Parses system font configuration files and appends result to fontFamilies. *
/ | 97 /** Parses system font configuration files and appends result to fontFamilies. *
/ |
98 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); | 98 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies); |
99 | 99 |
100 /** Parses font configuration files and appends result to fontFamilies. */ | 100 /** Parses font configuration files and appends result to fontFamilies. */ |
101 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, | 101 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, |
102 const SkString& basePath, | 102 const SkString& basePath, |
103 const char* fontsXml, | 103 const char* fontsXml, |
104 const char* fallbackFontsXml); | 104 const char* fallbackFontsXml, |
| 105 const char* langFallbackFontsDir = NULL); |
105 | 106 |
106 } // SkFontConfigParser namespace | 107 } // SkFontConfigParser namespace |
107 | 108 |
108 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */ | 109 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */ |
OLD | NEW |