Update GetAdvancedTypefaceMetrics API in usually-unbuilt files.
Originally caught by LJin.zq http://code.google.com/p/skia/issues/detail?id=405 git-svn-id: http://skia.googlecode.com/svn/trunk@3478 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
623f0ae407
commit
eebd62a7ef
@ -264,7 +264,9 @@ SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace,
|
||||
// static
|
||||
SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
|
||||
uint32_t fontID,
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) {
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo,
|
||||
const uint32_t* glyphIDs,
|
||||
uint32_t glyphIDsCount) {
|
||||
sk_throw(); // not implemented
|
||||
return NULL;
|
||||
}
|
||||
|
@ -30,7 +30,9 @@ SkTypeface* SkFontHost::CreateTypefaceFromFile(char const*) {
|
||||
// static
|
||||
SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
|
||||
uint32_t fontID,
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) {
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo,
|
||||
const uint32_t* glyphIDs,
|
||||
uint32_t glyphIDsCount) {
|
||||
SkDEBUGFAIL("SkFontHost::GetAdvancedTypefaceMetrics unimplemented");
|
||||
return NULL;
|
||||
}
|
||||
|
@ -575,7 +575,9 @@ SkStream* SkFontHost::OpenStream(uint32_t fontID) {
|
||||
#if 0
|
||||
SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
|
||||
uint32_t fontID,
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) {
|
||||
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo,
|
||||
const uint32_t* glyphIDs,
|
||||
uint32_t glyphIDsCount) {
|
||||
SkDEBUGFAIL("SkFontHost::GetAdvancedTypefaceMetrics unimplemented");
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user