Update SkGScalerContext to properly forward onCountGlyphs.

git-svn-id: http://skia.googlecode.com/svn/trunk@10090 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bungeman@google.com 2013-07-15 19:52:13 +00:00
parent 7bdd614a19
commit e05e75eda1
2 changed files with 5 additions and 0 deletions

View File

@ -194,6 +194,10 @@ void SkGTypeface::onGetFontDescriptor(SkFontDescriptor* desc,
fProxy->getFontDescriptor(desc, isLocal);
}
int SkGTypeface::onCountGlyphs() const {
return fProxy->countGlyphs();
}
int SkGTypeface::onGetUPEM() const {
return fProxy->getUnitsPerEm();
}

View File

@ -29,6 +29,7 @@ protected:
virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE;
virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const SK_OVERRIDE;
virtual int onCountGlyphs() const SK_OVERRIDE;
virtual int onGetUPEM() const SK_OVERRIDE;
virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE;