diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-24 17:12:34 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-24 17:12:34 +0100 |
| commit | 73615f7e3ce23f2ea656d04ea9f96184f5ebdc0a (patch) | |
| tree | 7691b792e1e4b33469a72c40fc76854f1de0814e /src/library/mod.rs | |
| parent | 6720520ec06dd0718f81049b2b11e81664f7ef62 (diff) | |
Text shaping 🚀
- Shapes text with rustybuzz
- Font fallback with family list
- Tofus are shown in the first font
Co-Authored-By: Martin <mhaug@live.de>
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 58e62d56..1f412cd0 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -32,8 +32,8 @@ use fontdock::{FontStyle, FontWeight}; use crate::eval::{AnyValue, FuncValue, Scope}; use crate::eval::{EvalContext, FuncArgs, TemplateValue, Value}; use crate::exec::{Exec, ExecContext, FontFamily}; +use crate::font::VerticalFontMetric; use crate::geom::*; -use crate::layout::VerticalFontMetric; use crate::syntax::{Node, Spanned}; /// Construct a scope containing all standard library definitions. |
