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

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

Issue 13119021: add dummpy SkFontMgr::Factory() impl to font backends, so we can start testing it (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 8 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 | « trunk/src/ports/SkFontHost_linux.cpp ('k') | trunk/src/ports/SkFontHost_win.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"
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
30 ///////////////////////////////////////////////////////////////////////////////
31
32 #include "SkFontMgr.h"
33
34 SkFontMgr* SkFontMgr::Factory() {
35 // todo
36 return NULL;
37 }
OLDNEW
« no previous file with comments | « trunk/src/ports/SkFontHost_linux.cpp ('k') | trunk/src/ports/SkFontHost_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698