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

Side by Side Diff: src/ports/SkFontConfigParser_android.h

Issue 888923003: Don't read unecessary font files on Android. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move reference & to type. Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/ports/SkFontConfigParser_android.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 int fOrder; // internal to SkFontConfigParser 87 int fOrder; // internal to SkFontConfigParser
88 bool fIsFallbackFont; 88 bool fIsFallbackFont;
89 }; 89 };
90 90
91 namespace SkFontConfigParser { 91 namespace SkFontConfigParser {
92 92
93 /** 93 /**
94 * Parses all system font configuration files and returns the results in an 94 * Parses all system font configuration files and returns the results in an
95 * array of FontFamily structures. 95 * array of FontFamily structures.
96 */ 96 */
97 void GetFontFamilies(SkTDArray<FontFamily*> &fontFamilies); 97 void GetFontFamilies(SkTDArray<FontFamily*>& fontFamilies);
98 98
99 /** 99 /**
100 * Parses all test font configuration files and returns the results in an 100 * Parses all test font configuration files and returns the results in an
101 * array of FontFamily structures. 101 * array of FontFamily structures.
102 */ 102 */
103 void GetTestFontFamilies(SkTDArray<FontFamily*> &fontFamilies, 103 void GetTestFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
104 const char* testMainConfigFile, 104 const char* testMainConfigFile,
105 const char* testFallbackConfigFile); 105 const char* testFallbackConfigFile);
106 106
107 } // SkFontConfigParser namespace 107 } // SkFontConfigParser namespace
108 108
109 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */ 109 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */
OLDNEW
« no previous file with comments | « no previous file | src/ports/SkFontConfigParser_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698