From be7cfc85d08c545abfac08098b7b33b4bd71f37e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 27 Oct 2024 19:04:55 +0100 Subject: Split out four new crates (#5302) --- crates/typst-render/src/text.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/typst-render/src/text.rs') diff --git a/crates/typst-render/src/text.rs b/crates/typst-render/src/text.rs index 1685e67d..c017b1ce 100644 --- a/crates/typst-render/src/text.rs +++ b/crates/typst-render/src/text.rs @@ -3,10 +3,10 @@ use std::sync::Arc; use pixglyph::Bitmap; use tiny_skia as sk; use ttf_parser::{GlyphId, OutlineBuilder}; -use typst::layout::{Abs, Axes, Point, Size}; -use typst::text::color::{glyph_frame, should_outline}; -use typst::text::{Font, TextItem}; -use typst::visualize::{FixedStroke, Paint}; +use typst_library::layout::{Abs, Axes, Point, Size}; +use typst_library::text::color::{glyph_frame, should_outline}; +use typst_library::text::{Font, TextItem}; +use typst_library::visualize::{FixedStroke, Paint}; use crate::paint::{self, GradientSampler, PaintSampler, PatternSampler}; use crate::{shape, AbsExt, State}; -- cgit v1.2.3