summaryrefslogtreecommitdiff
path: root/crates/typst-render/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-12-18 14:15:22 +0100
committerGitHub <noreply@github.com>2023-12-18 14:15:22 +0100
commit2f2dd179385b4e78fcfb0a38aafc433cbb86b10a (patch)
tree1f60780ead12b9341cdc83f888435693820517c4 /crates/typst-render/src
parent47bb32809a28325d85ed4eb4d1c8750a6baf4121 (diff)
Bump svg2pdf and related crates (#2992)
Diffstat (limited to 'crates/typst-render/src')
-rw-r--r--crates/typst-render/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-render/src/lib.rs b/crates/typst-render/src/lib.rs
index 79ec75b8..393f86cf 100644
--- a/crates/typst-render/src/lib.rs
+++ b/crates/typst-render/src/lib.rs
@@ -254,7 +254,7 @@ fn render_svg_glyph(
id: GlyphId,
) -> Option<()> {
let ts = &state.transform;
- let mut data = text.font.ttf().glyph_svg_image(id)?;
+ let mut data = text.font.ttf().glyph_svg_image(id)?.data;
// Decompress SVGZ.
let mut decoded = vec![];