Index: src/core/SkFontHost.cpp |
=================================================================== |
--- src/core/SkFontHost.cpp (revision 13875) |
+++ src/core/SkFontHost.cpp (working copy) |
@@ -110,6 +110,12 @@ |
const SkFontStyle&) const SK_OVERRIDE { |
return NULL; |
} |
+ virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], |
+ const SkFontStyle& style, |
+ const char bpc47[], |
+ uint32_t character) const SK_OVERRIDE { |
+ return NULL; |
+ } |
virtual SkTypeface* onMatchFaceStyle(const SkTypeface*, |
const SkFontStyle&) const SK_OVERRIDE { |
return NULL; |
@@ -156,6 +162,11 @@ |
return this->onMatchFamilyStyle(familyName, fs); |
} |
+SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, |
+ const char bpc47[], uint32_t character) const { |
+ return this->onMatchFamilyStyleCharacter(familyName, style, bpc47, character); |
+} |
+ |
SkTypeface* SkFontMgr::matchFaceStyle(const SkTypeface* face, |
const SkFontStyle& fs) const { |
return this->onMatchFaceStyle(face, fs); |