aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--font/src/darwin/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs
index 940a7239..a972301a 100644
--- a/font/src/darwin/mod.rs
+++ b/font/src/darwin/mod.rs
@@ -164,7 +164,8 @@ impl ::Rasterize for Rasterizer {
// fallbacks somehow.
{
let symbols = {
- let d = FontDesc::new("Apple Symbols".to_owned(), desc.style.clone());
+ let fallback_style = Style::Description { slant:Slant::Normal, weight:Weight::Normal } ;
+ let d = FontDesc::new("Apple Symbols".to_owned(), fallback_style);
self.get_font(&d, size)?
};
font.fallbacks.push(symbols);