diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-05-13 17:25:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-13 15:25:43 +0000 |
| commit | 95cd6adf24cb14ede8896fbb0c610432960f4f3a (patch) | |
| tree | bade59888a5268987eb4fae2dc30ddeaf28ad193 /crates/typst-svg | |
| parent | 7b656b3deb5f05e6e56d666622643a5cde8c435a (diff) | |
Factor out `typst-utils` crate (#4125)
Diffstat (limited to 'crates/typst-svg')
| -rw-r--r-- | crates/typst-svg/src/lib.rs | 2 | ||||
| -rw-r--r-- | crates/typst-svg/src/paint.rs | 2 | ||||
| -rw-r--r-- | crates/typst-svg/src/text.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst-svg/src/lib.rs b/crates/typst-svg/src/lib.rs index 3b9c4401..798a354c 100644 --- a/crates/typst-svg/src/lib.rs +++ b/crates/typst-svg/src/lib.rs @@ -14,7 +14,7 @@ use typst::layout::{ Abs, Frame, FrameItem, FrameKind, GroupItem, Point, Ratio, Size, Transform, }; use typst::model::Document; -use typst::util::hash128; +use typst::utils::hash128; use typst::visualize::{Gradient, Pattern}; use xmlwriter::XmlWriter; diff --git a/crates/typst-svg/src/paint.rs b/crates/typst-svg/src/paint.rs index fa3812bc..a382bd9d 100644 --- a/crates/typst-svg/src/paint.rs +++ b/crates/typst-svg/src/paint.rs @@ -4,7 +4,7 @@ use ecow::{eco_format, EcoString}; use ttf_parser::OutlineBuilder; use typst::foundations::Repr; use typst::layout::{Angle, Axes, Frame, Quadrant, Ratio, Size, Transform}; -use typst::util::hash128; +use typst::utils::hash128; use typst::visualize::{Color, Gradient, Paint, Pattern, RatioOrAngle}; use xmlwriter::XmlWriter; diff --git a/crates/typst-svg/src/text.rs b/crates/typst-svg/src/text.rs index c29c7a68..dc5442f9 100644 --- a/crates/typst-svg/src/text.rs +++ b/crates/typst-svg/src/text.rs @@ -5,7 +5,7 @@ use ecow::EcoString; use ttf_parser::GlyphId; use typst::layout::{Abs, Point, Ratio, Size, Transform}; use typst::text::{Font, TextItem}; -use typst::util::hash128; +use typst::utils::hash128; use typst::visualize::{Image, Paint, RasterFormat, RelativeTo}; use crate::{SVGRenderer, State, SvgMatrix, SvgPathBuilder}; |
