Index: src/ports/SkFontMgr_custom.cpp |
diff --git a/src/ports/SkFontMgr_custom.cpp b/src/ports/SkFontMgr_custom.cpp |
index 0fc5180dd4ea4d3aa6b3f8e3dbf5a51bf957f30c..1c99353b0709360632372273c92f85e656c9e2aa 100644 |
--- a/src/ports/SkFontMgr_custom.cpp |
+++ b/src/ports/SkFontMgr_custom.cpp |
@@ -43,6 +43,7 @@ protected: |
void onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const override { |
desc->setFamilyName(fFamilyName.c_str()); |
+ desc->setStyle(this->fontStyle()); |
*isLocal = !this->isSysFont(); |
} |