OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "SkFontHost.h" | 8 #include "SkFontHost.h" |
9 #include "SkTypefaceCache.h" | 9 #include "SkTypefaceCache.h" |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 void SkFontHost::Serialize(const SkTypeface*, SkWStream*) { | 90 void SkFontHost::Serialize(const SkTypeface*, SkWStream*) { |
91 SkDEBUGFAIL("SkFontHost::Serialize unimplemented"); | 91 SkDEBUGFAIL("SkFontHost::Serialize unimplemented"); |
92 } | 92 } |
93 | 93 |
94 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { | 94 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { |
95 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); | 95 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); |
96 return NULL; | 96 return NULL; |
97 } | 97 } |
98 | 98 |
99 SkFontID SkFontHost::NextLogicalFont(SkFontID currFontID, SkFontID origFontID) { | 99 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID, SkFontID origFo
ntID) { |
100 return 0; | 100 return NULL; |
101 } | 101 } |
102 | 102 |
103 #include "SkTypeface_mac.h" | 103 #include "SkTypeface_mac.h" |
104 | 104 |
105 SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef fontRef) { | 105 SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef fontRef) { |
106 SkDEBUGFAIL("Not supported"); | 106 SkDEBUGFAIL("Not supported"); |
107 return NULL; | 107 return NULL; |
108 } | 108 } |
OLD | NEW |