summaryrefslogtreecommitdiff
path: root/src/exec/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec/state.rs')
-rw-r--r--src/exec/state.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/exec/state.rs b/src/exec/state.rs
index 82f653e9..f4bc6b7b 100644
--- a/src/exec/state.rs
+++ b/src/exec/state.rs
@@ -1,10 +1,8 @@
use std::fmt::{self, Display, Formatter};
use std::rc::Rc;
-use fontdock::{FontStretch, FontStyle, FontVariant, FontWeight};
-
use crate::color::{Color, RgbaColor};
-use crate::font::VerticalFontMetric;
+use crate::font::{FontStretch, FontStyle, FontVariant, FontWeight, VerticalFontMetric};
use crate::geom::*;
use crate::layout::Fill;
use crate::paper::{Paper, PaperClass, PAPER_A4};
@@ -181,7 +179,7 @@ impl Default for FontState {
variant: FontVariant {
style: FontStyle::Normal,
weight: FontWeight::REGULAR,
- stretch: FontStretch::Normal,
+ stretch: FontStretch::NORMAL,
},
size: Length::pt(11.0),
top_edge: VerticalFontMetric::CapHeight,