Skip to content

Update resvg dependency of egui_extras#3719

Merged
emilk merged 1 commit intoemilk:masterfrom
PingPongun:resvg-0.37
Dec 20, 2023
Merged

Update resvg dependency of egui_extras#3719
emilk merged 1 commit intoemilk:masterfrom
PingPongun:resvg-0.37

Conversation

@PingPongun
Copy link
Copy Markdown
Contributor

Update resvg from v0.28 to v0.37.
Remove related, unnecessary entries from deny.toml.

⚠ In example images ferris is scaled differently, but I guess that now it scales in expected way (takes all available space; before this PR it takes up to space that, was available at first render- it does not upscale).

This PR is minimal adaptation to new resvg api and small related simplification, however it should be considered to update loaders (currently if svg image initially was small and was scaled up it will be blurred, see #3501). As svg image now scales over render size, problem will be more often seen now.

(currently SvgLoader theoretically should rerender for different sizes (but I guess it will result in memory leak in that case), but refreshing is stopped earlier in DefaultTextureLoader).

I have initial version of loaders update, that will fix issue with svg scaling (and also enable e.g. reloading image if file has been changed), I will submit these changes in separate PR once this one is merged.

Closes #3652.

@emilk emilk added dependencies Pull requests that update a dependency file egui_extras labels Dec 20, 2023
@emilk
Copy link
Copy Markdown
Owner

emilk commented Dec 20, 2023

Thank you!

@emilk emilk merged commit 963be24 into emilk:master Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file egui_extras

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update resvg dependency of egui_extras

2 participants