From d2a48b765fe9124a5382cf72a2eff4b81eb45ab1 Mon Sep 17 00:00:00 2001 From: George Wright Date: Tue, 10 Dec 2013 14:43:22 -0500 Subject: [PATCH] Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp --- gfx/skia/trunk/src/ports/SkFontHost_mac.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gfx/skia/trunk/src/ports/SkFontHost_mac.cpp b/gfx/skia/trunk/src/ports/SkFontHost_mac.cpp index ac0e365e2ef1..ab6efdf6070c 100755 --- a/gfx/skia/trunk/src/ports/SkFontHost_mac.cpp +++ b/gfx/skia/trunk/src/ports/SkFontHost_mac.cpp @@ -2312,3 +2312,24 @@ SkFontMgr* SkFontMgr::Factory() { return SkNEW(SkFontMgr_Mac); } #endif + +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; +} +