OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 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 #include "SkFontHost.h" | 8 #include "SkFontHost.h" |
9 #include "SkFontHost_FreeType_common.h" | 9 #include "SkFontHost_FreeType_common.h" |
10 #include "SkFontDescriptor.h" | 10 #include "SkFontDescriptor.h" |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 const char* fontsdir) { | 1057 const char* fontsdir) { |
1058 gTestMainConfigFile = mainconf; | 1058 gTestMainConfigFile = mainconf; |
1059 gTestFallbackConfigFile = fallbackconf; | 1059 gTestFallbackConfigFile = fallbackconf; |
1060 gTestFontFilePrefix = fontsdir; | 1060 gTestFontFilePrefix = fontsdir; |
1061 SkASSERT(gTestMainConfigFile); | 1061 SkASSERT(gTestMainConfigFile); |
1062 SkASSERT(gTestFallbackConfigFile); | 1062 SkASSERT(gTestFallbackConfigFile); |
1063 SkASSERT(gTestFontFilePrefix); | 1063 SkASSERT(gTestFontFilePrefix); |
1064 SkDEBUGF(("Use Test Config File Main %s, Fallback %s, Font Dir %s", | 1064 SkDEBUGF(("Use Test Config File Main %s, Fallback %s, Font Dir %s", |
1065 gTestMainConfigFile, gTestFallbackConfigFile, gTestFontFilePrefix)
); | 1065 gTestMainConfigFile, gTestFallbackConfigFile, gTestFontFilePrefix)
); |
1066 } | 1066 } |
| 1067 |
| 1068 /////////////////////////////////////////////////////////////////////////////// |
| 1069 |
| 1070 #include "SkFontMgr.h" |
| 1071 |
| 1072 SkFontMgr* SkFontMgr::Factory() { |
| 1073 // todo |
| 1074 return NULL; |
| 1075 } |
OLD | NEW |