Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 25038dcf380a5824ffc368734c2241edb6c76e70..8b7801ba781df66073eefe56b884ce32ccf0ebba 100644 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -1714,6 +1714,7 @@ void LogFontTypeface::onGetFontDescriptor(SkFontDescriptor* desc, |
SkString familyName; |
this->onGetFamilyName(&familyName); |
desc->setFamilyName(familyName.c_str()); |
+ desc->setStyle(this->fontStyle()); |
*isLocalStream = this->fSerializeAsStream; |
} |