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 #include "SkFontMgr.h" |
10 #include "SkFontHost.h" | |
11 #include "SkScalerContext.h" | 10 #include "SkScalerContext.h" |
12 | 11 |
13 SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace, | 12 SkFontMgr* SkFontMgr::Factory() { |
14 const char famillyName[], | 13 // Always return NULL, an empty SkFontMgr will be used. |
15 SkTypeface::Style style) { | |
16 SkDEBUGFAIL("SkFontHost::FindTypeface unimplemented"); | |
17 return NULL; | 14 return NULL; |
18 } | 15 } |
19 | |
20 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream*) { | |
21 SkDEBUGFAIL("SkFontHost::CreateTypeface unimplemented"); | |
22 return NULL; | |
23 } | |
24 | |
25 SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) { | |
26 SkDEBUGFAIL("SkFontHost::CreateTypefaceFromFile unimplemented"); | |
27 return NULL; | |
28 } | |
29 | |
30 /////////////////////////////////////////////////////////////////////////////// | |
31 | |
32 #include "SkFontMgr.h" | |
33 | |
34 SkFontMgr* SkFontMgr::Factory() { | |
35 // todo | |
36 return NULL; | |
37 } | |
OLD | NEW |