Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump + improvements to svg2pdf #52

Merged
merged 59 commits into from
Jan 24, 2024
Merged

Version bump + improvements to svg2pdf #52

merged 59 commits into from
Jan 24, 2024

Conversation

LaurenzV
Copy link
Collaborator

This PR:

  • Bumps to resvg 0.38. It contains quite a few changes wrt how bboxes are handled, but also the resvg API itself. But these changes are what enable us to easily add filters in the first place.
  • Adds support for filters (only a few edge cases are not working correctly yet because they are a bit difficult to handle). The resolution of filters can be changed via a setting (which means it could in theory also be controlled from Typst)
  • Improves clip paths with non zero winding rule
  • Fixes Wavedrom diagram rendering issues (font, dotted lines) #46

@reknih
Copy link
Member

reknih commented Jan 24, 2024

Thank you for taking this into your own hands! You can also remove Filters from the unsupported features list in the README file :)

@LaurenzV
Copy link
Collaborator Author

Didn't I already do that? 🤔

@reknih
Copy link
Member

reknih commented Jan 24, 2024

Oh my bad!

@reknih
Copy link
Member

reknih commented Jan 24, 2024

Thank you so much!

@reknih reknih merged commit 49891ef into typst:main Jan 24, 2024
2 checks passed
@LaurenzV LaurenzV deleted the filters branch January 24, 2024 14:22
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.

Wavedrom diagram rendering issues (font, dotted lines)
2 participants