diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-09-19 17:44:40 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-19 17:44:40 +0200 |
| commit | e29f55bb294cc298daad97accf6d8a76976b409c (patch) | |
| tree | cc4db3b61fa23e13f781e992c63427d36e77ef8c /src/frame.rs | |
| parent | 59f67b79c7ff50f0bc9a27373d0fa36d1523e08a (diff) | |
Remove font store
Diffstat (limited to 'src/frame.rs')
| -rw-r--r-- | src/frame.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.rs b/src/frame.rs index 7a5fb9e4..287bbf90 100644 --- a/src/frame.rs +++ b/src/frame.rs @@ -5,7 +5,7 @@ use std::num::NonZeroUsize; use std::sync::Arc; use crate::eval::{Dict, Value}; -use crate::font::FontId; +use crate::font::Font; use crate::geom::{ Align, Em, Length, Numeric, Paint, Point, Shape, Size, Spec, Transform, }; @@ -353,7 +353,7 @@ impl Debug for Group { #[derive(Clone, Eq, PartialEq)] pub struct Text { /// The font the glyphs are contained in. - pub font_id: FontId, + pub font: Font, /// The font size. pub size: Length, /// Glyph color. |
