diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-14 14:53:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-14 15:06:34 +0100 |
| commit | 8a38899c98b4f9829b2d1f21c8fee66d254d20c6 (patch) | |
| tree | a3c611843cd515b39e6e42dcff9003b4ab60c42a /src/style | |
| parent | 14048937b877d242de8b585905cdab3ac6acd9ee (diff) | |
Tidying
Diffstat (limited to 'src/style')
| -rw-r--r-- | src/style/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/style/mod.rs b/src/style/mod.rs index 4b1d2837..dccc7543 100644 --- a/src/style/mod.rs +++ b/src/style/mod.rs @@ -6,9 +6,9 @@ pub use paper::*; use std::rc::Rc; -use crate::font::{ - FontFamily, FontStretch, FontStyle, FontVariant, FontWeight, VerticalFontMetric, -}; +use ttf_parser::Tag; + +use crate::font::*; use crate::geom::*; /// Defines a set of properties a template can be instantiated with. @@ -275,7 +275,7 @@ pub struct FontFeatures { /// Configuration of numbers features. pub numbers: NumberFeatures, /// Raw OpenType features to apply. - pub raw: Vec<(String, u32)>, + pub raw: Vec<(Tag, u32)>, } impl Default for FontFeatures { |
