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:
parent
7bdd614a19
commit
e05e75eda1
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user