4 Commits

Author SHA1 Message Date
Martin Slachta
397f4871ff SVG Export: Removed groups around every single element to reduce size.
Every element like path had group around it that defined it's transform.
These changes move the transformations to the element itself. This
reduces the overall size of the exported SVG.

Added new SVG path builder using relative coordinates. The previous with
global coordinates is still used for glyph paths. Using relative
coordinates allows to transform the entire element without changing the entire path.
2025-05-05 18:28:09 +02:00
frozolotl
3eb6e87af1
Include images from raw pixmaps and more (#5632)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-31 09:56:25 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Tulio Martins
c49c0955be
Refactor typst-svg (#4074) 2024-05-07 09:55:59 +00:00