| Index: src/ports/SkFontHost_none.cpp
|
| ===================================================================
|
| --- src/ports/SkFontHost_none.cpp (revision 12201)
|
| +++ src/ports/SkFontHost_none.cpp (working copy)
|
| @@ -6,32 +6,10 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -
|
| -#include "SkFontHost.h"
|
| +#include "SkFontMgr.h"
|
| #include "SkScalerContext.h"
|
|
|
| -SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace,
|
| - const char famillyName[],
|
| - SkTypeface::Style style) {
|
| - SkDEBUGFAIL("SkFontHost::FindTypeface unimplemented");
|
| - return NULL;
|
| -}
|
| -
|
| -SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream*) {
|
| - SkDEBUGFAIL("SkFontHost::CreateTypeface unimplemented");
|
| - return NULL;
|
| -}
|
| -
|
| -SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) {
|
| - SkDEBUGFAIL("SkFontHost::CreateTypefaceFromFile unimplemented");
|
| - return NULL;
|
| -}
|
| -
|
| -///////////////////////////////////////////////////////////////////////////////
|
| -
|
| -#include "SkFontMgr.h"
|
| -
|
| SkFontMgr* SkFontMgr::Factory() {
|
| - // todo
|
| + // Always return NULL, an empty SkFontMgr will be used.
|
| return NULL;
|
| }
|
|
|