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

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

Issue 12807004: move impl of AdvancedTypefaceMetrics into typeface (3) (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
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"
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 // static
31 SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
32 uint32_t fontID,
33 SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo,
34 const uint32_t* glyphIDs,
35 uint32_t glyphIDsCount) {
36 SkDEBUGFAIL("SkFontHost::GetAdvancedTypefaceMetrics unimplemented");
37 return NULL;
38 }
39
40 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
41 31
42 SkStream* SkFontHost::OpenStream(uint32_t uniqueID) { 32 SkStream* SkFontHost::OpenStream(uint32_t uniqueID) {
43 SkDEBUGFAIL("SkFontHost::OpenStream unimplemented"); 33 SkDEBUGFAIL("SkFontHost::OpenStream unimplemented");
44 return NULL; 34 return NULL;
45 } 35 }
46 36
47 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, 37 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
48 int32_t* index) { 38 int32_t* index) {
49 SkDebugf("SkFontHost::GetFileName unimplemented\n"); 39 SkDebugf("SkFontHost::GetFileName unimplemented\n");
(...skipping 10 matching lines...) Expand all
60 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented"); 50 SkDEBUGFAIL("SkFontHost::Deserialize unimplemented");
61 return NULL; 51 return NULL;
62 } 52 }
63 53
64 /////////////////////////////////////////////////////////////////////////////// 54 ///////////////////////////////////////////////////////////////////////////////
65 55
66 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID, 56 SkTypeface* SkFontHost::NextLogicalTypeface(SkFontID currFontID,
67 SkFontID origFontID) { 57 SkFontID origFontID) {
68 return NULL; 58 return NULL;
69 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698