summaryrefslogtreecommitdiff
path: root/src/frame.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.rs')
-rw-r--r--src/frame.rs4
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.