| 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" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // static | 30 // static |
| 31 SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics( | 31 SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics( |
| 32 uint32_t fontID, | 32 uint32_t fontID, |
| 33 SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, | 33 SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, |
| 34 const uint32_t* glyphIDs, | 34 const uint32_t* glyphIDs, |
| 35 uint32_t glyphIDsCount) { | 35 uint32_t glyphIDsCount) { |
| 36 SkDEBUGFAIL("SkFontHost::GetAdvancedTypefaceMetrics unimplemented"); | 36 SkDEBUGFAIL("SkFontHost::GetAdvancedTypefaceMetrics unimplemented"); |
| 37 return NULL; | 37 return NULL; |
| 38 } | 38 } |
| 39 | 39 |
| 40 void SkFontHost::FilterRec(SkScalerContext::Rec* rec, SkTypeface*) { | |
| 41 } | |
| 42 | |
| 43 /////////////////////////////////////////////////////////////////////////////// | 40 /////////////////////////////////////////////////////////////////////////////// |
| 44 | 41 |
| 45 SkStream* SkFontHost::OpenStream(uint32_t uniqueID) { | 42 SkStream* SkFontHost::OpenStream(uint32_t uniqueID) { |
| 46 SkDEBUGFAIL("SkFontHost::OpenStream unimplemented"); | 43 SkDEBUGFAIL("SkFontHost::OpenStream unimplemented"); |
| 47 return NULL; | 44 return NULL; |
| 48 } | 45 } |
| 49 | 46 |
| 50 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, | 47 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, |
| 51 int32_t* index) { | 48 int32_t* index) { |
| 52 SkDebugf("SkFontHost::GetFileName unimplemented\n"); | 49 SkDebugf("SkFontHost::GetFileName unimplemented\n"); |
| 53 return 0; | 50 return 0; |
| 54 } | 51 } |
| 55 | 52 |
| 56 /////////////////////////////////////////////////////////////////////////////// | 53 /////////////////////////////////////////////////////////////////////////////// |
| 57 | 54 |
| 58 void SkFontHost::Serialize(const SkTypeface* face, SkWStream* stream) { | 55 void SkFontHost::Serialize(const SkTypeface* face, SkWStream* stream) { |
| 59 SkDEBUGFAIL("SkFontHost::Serialize unimplemented"); | 56 SkDEBUGFAIL("SkFontHost::Serialize unimplemented"); |
| 60 } | 57 } |
| 61 | 58 |
| 62 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { | 59 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { |
| 63 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); | 60 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); |
| 64 return NULL; | 61 return NULL; |
| 65 } | 62 } |
| 66 | 63 |
| 67 /////////////////////////////////////////////////////////////////////////////// | 64 /////////////////////////////////////////////////////////////////////////////// |
| 68 | 65 |
| 69 SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) { | 66 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID, |
| 70 SkDEBUGFAIL("SkFontHost::CreateScalarContext unimplemented"); | 67 SkFontID origFontID) { |
| 71 return NULL; | 68 return NULL; |
| 72 } | 69 } |
| 73 | |
| 74 SkFontID SkFontHost::NextLogicalFont(SkFontID currFontID, SkFontID origFontID) { | |
| 75 return 0; | |
| 76 } | |
| OLD | NEW |