diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-04-23 17:46:14 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-04-23 17:46:14 +0200 |
| commit | 6292d25afb3080f606844d7e03fec5c80f0140ff (patch) | |
| tree | 8d2495edccaa6bdaaa4d012be18df15788c640d0 /src/library/mod.rs | |
| parent | 72478946c261f04754c11f8a6abf6eb0f43dea31 (diff) | |
Reengineer font and resource loading 🏞
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 738348ee..5018f0b4 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -29,12 +29,11 @@ pub use spacing::*; use std::fmt::{self, Display, Formatter}; -use fontdock::{FontStyle, FontWeight}; - -use crate::eval::{AnyValue, FuncValue, Scope}; -use crate::eval::{EvalContext, FuncArgs, TemplateValue, Value}; +use crate::eval::{ + AnyValue, EvalContext, FuncArgs, FuncValue, Scope, TemplateValue, Value, +}; use crate::exec::{Exec, FontFamily}; -use crate::font::VerticalFontMetric; +use crate::font::{FontStyle, FontWeight, VerticalFontMetric}; use crate::geom::*; use crate::syntax::{Node, Spanned}; |
