Index: src/ports/SkTypeface_win_dw.cpp |
diff --git a/src/ports/SkTypeface_win_dw.cpp b/src/ports/SkTypeface_win_dw.cpp |
index a12438c88f14cf6f28d50fd02e1c828dfcb948c4..11e5727e389cb8247b5991fd530227dd78393e60 100644 |
--- a/src/ports/SkTypeface_win_dw.cpp |
+++ b/src/ports/SkTypeface_win_dw.cpp |
@@ -45,6 +45,7 @@ void DWriteFontTypeface::onGetFontDescriptor(SkFontDescriptor* desc, |
sk_get_locale_string(familyNames.get(), nullptr/*fMgr->fLocaleName.get()*/, &utf8FamilyName); |
desc->setFamilyName(utf8FamilyName.c_str()); |
+ desc->setStyle(this->fontStyle()); |
*isLocalStream = SkToBool(fDWriteFontFileLoader.get()); |
} |