Skip to content

Render svg with cairo_svg#38

Open
Azeirah wants to merge 19 commits intoricklupton:mainfrom
Scrybbling-together:cairo_svg
Open

Render svg with cairo_svg#38
Azeirah wants to merge 19 commits intoricklupton:mainfrom
Scrybbling-together:cairo_svg

Conversation

@Azeirah
Copy link
Copy Markdown
Contributor

@Azeirah Azeirah commented Aug 25, 2025

This PR deprecates inkscape in favor of cairo svg.

The biggest advantage is that cairosvg is smaller and faster. The export to pdf code is also a bit simpler.

Another advantage is that you don't get annoying hard-to-capture logs anymore.

  • Might still need to update docs? On MacOS and Windows, you need to install libcairo.

Copy link
Copy Markdown
Contributor

@Seb-sti1 Seb-sti1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is a great idea! tbh i already use cairosvg in rmtree so i'm, of course, for this PR to merged :)

I added some additional suggestions

(side note i didn't review flake.nix as i'm not familiar with nix)

Comment thread pyproject.toml Outdated
Comment thread src/rmc/exporters/pdf.py
Comment thread README.md Outdated
Azeirah and others added 3 commits August 26, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants