Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index f5bf85d3ae2efc5df52b0b71406ff3133ea6c7e6..eed57c2972823e66460ce29e1f81f1ec92674d40 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -270,6 +270,9 @@ protected: |
virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const SK_OVERRIDE; |
virtual SkTypeface* onMatchFamilyStyle(const char familyName[], |
const SkFontStyle& fontstyle) const SK_OVERRIDE; |
+ virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, |
+ const char* bcp47[], int bcp47Count, |
+ SkUnichar character) const SK_OVERRIDE; |
virtual SkTypeface* onMatchFaceStyle(const SkTypeface* familyMember, |
const SkFontStyle& fontstyle) const SK_OVERRIDE; |
virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE; |
@@ -483,6 +486,13 @@ SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyle(const char familyName[], |
return sset->matchStyle(fontstyle); |
} |
+SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyleCharacter(const char familyName[], |
+ const SkFontStyle&, |
+ const char* bcp47[], int bcp47Count, |
+ SkUnichar character) const { |
+ return NULL; |
+} |
+ |
SkTypeface* SkFontMgr_DirectWrite::onMatchFaceStyle(const SkTypeface* familyMember, |
const SkFontStyle& fontstyle) const { |
SkString familyName; |