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:
parent
bff83f61fa
commit
0e8eee7b8a
@ -1604,6 +1604,10 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
|
||||
return stream;
|
||||
}
|
||||
|
||||
size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
SkScalerContext* SkFontHost::CreateScalerContext(const SkDescriptor* desc) {
|
||||
return SkNEW_ARGS(SkScalerContext_Windows, (desc));
|
||||
}
|
||||
|
@ -1158,6 +1158,10 @@ SkStream* SkFontHost::OpenStream(SkFontID uniqueID) {
|
||||
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) {
|
||||
return SkNEW_ARGS(SkScalerContext_Windows, (desc));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user