Index: src/fonts/SkFontMgr_fontconfig.cpp |
diff --git a/src/fonts/SkFontMgr_fontconfig.cpp b/src/fonts/SkFontMgr_fontconfig.cpp |
index 937696468e7dcef59b9f69dca704adc6e6dc3622..09b4d13dd4241229959299dcb81c47205e030c1c 100644 |
--- a/src/fonts/SkFontMgr_fontconfig.cpp |
+++ b/src/fonts/SkFontMgr_fontconfig.cpp |
@@ -31,6 +31,7 @@ void SkTypeface_FCI::onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocalSt |
SkString name; |
this->getFamilyName(&name); |
desc->setFamilyName(name.c_str()); |
+ desc->setStyle(this->fontStyle()); |
*isLocalStream = SkToBool(this->getLocalStream()); |
} |