diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-12-18 14:15:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 14:15:22 +0100 |
| commit | 2f2dd179385b4e78fcfb0a38aafc433cbb86b10a (patch) | |
| tree | 1f60780ead12b9341cdc83f888435693820517c4 /crates/typst-svg | |
| parent | 47bb32809a28325d85ed4eb4d1c8750a6baf4121 (diff) | |
Bump svg2pdf and related crates (#2992)
Diffstat (limited to 'crates/typst-svg')
| -rw-r--r-- | crates/typst-svg/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-svg/src/lib.rs b/crates/typst-svg/src/lib.rs index 04a24ebf..92168fc6 100644 --- a/crates/typst-svg/src/lib.rs +++ b/crates/typst-svg/src/lib.rs @@ -1108,7 +1108,7 @@ fn convert_bitmap_glyph_to_image(font: &Font, id: GlyphId) -> Option<(Image, f64 /// Convert an SVG glyph to an encoded image URL. #[comemo::memoize] fn convert_svg_glyph_to_base64_url(font: &Font, id: GlyphId) -> Option<EcoString> { - let mut data = font.ttf().glyph_svg_image(id)?; + let mut data = font.ttf().glyph_svg_image(id)?.data; // Decompress SVGZ. let mut decoded = vec![]; |
