| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2008 The Android Open Source Project | 3 * Copyright 2008 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #include "SkFontHost.h" | 10 #include "SkFontHost.h" |
| 11 #include "SkScalerContext.h" | 11 #include "SkScalerContext.h" |
| 12 | 12 |
| 13 SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace, | 13 SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace, |
| 14 const char famillyName[], | 14 const char famillyName[], |
| 15 SkTypeface::Style style) { | 15 SkTypeface::Style style) { |
| 16 SkDEBUGFAIL("SkFontHost::FindTypeface unimplemented"); | 16 SkDEBUGFAIL("SkFontHost::FindTypeface unimplemented"); |
| 17 return NULL; | 17 return NULL; |
| 18 } | 18 } |
| 19 | 19 |
| 20 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream*) { | 20 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream*) { |
| 21 SkDEBUGFAIL("SkFontHost::CreateTypeface unimplemented"); | 21 SkDEBUGFAIL("SkFontHost::CreateTypeface unimplemented"); |
| 22 return NULL; | 22 return NULL; |
| 23 } | 23 } |
| 24 | 24 |
| 25 SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) { | 25 SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) { |
| 26 SkDEBUGFAIL("SkFontHost::CreateTypefaceFromFile unimplemented"); | 26 SkDEBUGFAIL("SkFontHost::CreateTypefaceFromFile unimplemented"); |
| 27 return NULL; | 27 return NULL; |
| 28 } | 28 } |
| 29 | 29 |
| 30 /////////////////////////////////////////////////////////////////////////////// | |
| 31 | |
| 32 void SkFontHost::Serialize(const SkTypeface* face, SkWStream* stream) { | |
| 33 SkDEBUGFAIL("SkFontHost::Serialize unimplemented"); | |
| 34 } | |
| 35 | |
| 36 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { | |
| 37 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); | |
| 38 return NULL; | |
| 39 } | |
| 40 | |
| 41 /////////////////////////////////////////////////////////////////////////////// | |
| 42 | |
| 43 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID, | 30 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID, |
| 44 SkFontID origFontID) { | 31 SkFontID origFontID) { |
| 45 return NULL; | 32 return NULL; |
| 46 } | 33 } |
| OLD | NEW |