diff options
-rw-r--r-- | src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 27d1cbfc..7c1c011b 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -185,7 +185,7 @@ impl GlyphCache { let style = if let Some(ref spec) = desc.style { font::Style::Specific(spec.to_owned()) } else { - font::Style::Description {slant, weight} + font::Style::Description {slant:slant, weight:weight} }; FontDesc::new(&desc.family[..], style) } |