10 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
dacd6acd5e
More flexible and efficient Bytes representation (#5670) 2025-01-08 10:57:56 +00:00
Laurenz
1346385255
Rename pattern to tiling (#5590) 2024-12-17 09:25:27 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz
92aacdb480
Fix scales for unit conversion (#5169) 2024-10-10 15:51:48 +00:00
HydroH
1d74c8e8bf
Add non-zero and even-odd fill rules to path and polygon (#4580)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 14:24:29 +00:00
Laurenz
45366c0112
Bump Rust in CI (#4445) 2024-06-24 20:11:11 +00:00
Laurenz
95cd6adf24
Factor out typst-utils crate (#4125) 2024-05-13 15:25:43 +00:00
Tulio Martins
c49c0955be
Refactor typst-svg (#4074) 2024-05-07 09:55:59 +00:00