add (dummy) SkFontHost::GetFileName (to fix build, will soon be deprecated)

git-svn-id: http://skia.googlecode.com/svn/trunk@8159 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-03-14 15:19:23 +00:00
parent bff83f61fa
commit 0e8eee7b8a
2 changed files with 8 additions and 0 deletions

View File

@ -1604,6 +1604,10 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
return stream; return stream;
} }
size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) {
return 0;
}
SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) { SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) {
return SkNEW_ARGS(SkScalerContext_Windows, (desc)); return SkNEW_ARGS(SkScalerContext_Windows, (desc));
} }

View File

@ -1158,6 +1158,10 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
return SkNEW_ARGS(SkDWriteFontFileStream, (fontFileStream.get())); return SkNEW_ARGS(SkDWriteFontFileStream, (fontFileStream.get()));
} }
size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) {
return 0;
}
SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) { SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) {
return SkNEW_ARGS(SkScalerContext_Windows, (desc)); return SkNEW_ARGS(SkScalerContext_Windows, (desc));
} }