Skip to content

Conversation

wash2
Copy link

@wash2 wash2 commented Aug 18, 2025

Rendering currently panics for SVGs with extremely large filters, like https://github.com/Davidoc26/wallpaper-selector/blob/main/data/icons/io.github.davidoc26.wallpaper_selector.svg.

I am not terribly familiar with this project, but it seems that while the layer will be shrunk if it is too large, the filters are left unchanged, which eventually causes a source / dest size mismatch and panics when they are asserted to be the same. This change shrinks the filter via the transform as well, if necessary, which resolves the issue when I test it and matches the correct rendering.

@wash2 wash2 marked this pull request as draft August 18, 2025 21:31
@wash2 wash2 marked this pull request as ready for review August 18, 2025 23:13
@LaurenzV
Copy link
Collaborator

Sorry for the lack of response, I'll try to take a closer look soon.

@wash2
Copy link
Author

wash2 commented Aug 25, 2025

Thanks!

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