diff --git a/src/ports/SkFontHost_android.cpp b/src/ports/SkFontHost_android.cpp index d1bd9929f9..37495e7a10 100644 --- a/src/ports/SkFontHost_android.cpp +++ b/src/ports/SkFontHost_android.cpp @@ -1064,3 +1064,12 @@ void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackconf, SkDEBUGF(("Use Test Config File Main %s, Fallback %s, Font Dir %s", gTestMainConfigFile, gTestFallbackConfigFile, gTestFontFilePrefix)); } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +} diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp index f66be28fdb..2f2b31429b 100644 --- a/src/ports/SkFontHost_fontconfig.cpp +++ b/src/ports/SkFontHost_fontconfig.cpp @@ -222,3 +222,12 @@ void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc, desc->setFamilyName(this->getFamilyName()); *isLocalStream = SkToBool(this->getLocalStream()); } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +} diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp index 0ddcdb767a..8825919a98 100644 --- a/src/ports/SkFontHost_linux.cpp +++ b/src/ports/SkFontHost_linux.cpp @@ -517,3 +517,12 @@ SkTypeface* SkFontHost::CreateTypefaceFromFile(const char path[]) { SkAutoTUnref stream(SkStream::NewFromFile(path)); return stream.get() ? CreateTypefaceFromStream(stream) : NULL; } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +} diff --git a/src/ports/SkFontHost_none.cpp b/src/ports/SkFontHost_none.cpp index 5e3eb085ca..c5267096b4 100644 --- a/src/ports/SkFontHost_none.cpp +++ b/src/ports/SkFontHost_none.cpp @@ -26,3 +26,12 @@ SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) { SkDEBUGFAIL("SkFontHost::CreateTypefaceFromFile unimplemented"); return NULL; } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +} diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp index 0261b2b849..1253f84ebb 100755 --- a/src/ports/SkFontHost_win.cpp +++ b/src/ports/SkFontHost_win.cpp @@ -1674,3 +1674,12 @@ void LogFontTypeface::onFilterRec(SkScalerContextRec* rec) const { rec->fFlags &= ~SkScalerContext::kGenA8FromLCD_Flag; } } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +} diff --git a/src/ports/SkFontHost_win_dw.cpp b/src/ports/SkFontHost_win_dw.cpp index 8debc31f87..489bad727a 100644 --- a/src/ports/SkFontHost_win_dw.cpp +++ b/src/ports/SkFontHost_win_dw.cpp @@ -1518,3 +1518,12 @@ SkAdvancedTypefaceMetrics* DWriteFontTypeface::onGetAdvancedTypefaceMetrics( return info; } + +/////////////////////////////////////////////////////////////////////////////// + +#include "SkFontMgr.h" + +SkFontMgr* SkFontMgr::Factory() { + // todo + return NULL; +}