Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index 2e619af0fb4bcfb798b7a9a6c8e89145439de2be..4e8a1808f59233a63120a27623bf47680df28d30 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -85,6 +85,7 @@ public: |
SkASSERT(desc); |
SkASSERT(serialize); |
desc->setFamilyName(fFamilyName.c_str()); |
+ desc->setStyle(this->fontStyle()); |
*serialize = false; |
} |
SkStreamAsset* onOpenStream(int* ttcIndex) const override { |