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

Side by Side Diff: src/ports/SkFontHost_none.cpp

Issue 12593013: remove SkFontHost::CreateScalerContext (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ports/SkFontHost_mac.cpp ('k') | src/ports/SkFontHost_simple.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 /* 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
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 }
OLDNEW
« no previous file with comments | « src/ports/SkFontHost_mac.cpp ('k') | src/ports/SkFontHost_simple.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698