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

Upgrade wgpu_svg example to latest version of usvg #893

Merged
merged 15 commits into from
Apr 20, 2024

Conversation

hrydgard
Copy link
Contributor

@hrydgard hrydgard commented Mar 8, 2024

usvg has gone through some rather major API changes, and when trying to integrate code from your svg sample into a prototype I'm working on, I ran into some issues.

This upgrades the svg example to use the very latest usvg, 0.40.

It does not upgrade wgpu and winit and stuff, to keep PR complexity down.

Weirdly, throughout the course of the changes, sometimes the image would be offset by quite a bit, and then it would later come back. Some intricacy about hierachical transforms, I suspect. Oh well, it looks correct with test.svg in the latest commit, at least.

@nical
Copy link
Owner

nical commented Apr 20, 2024

Thanks!

@nical nical merged commit 7ec91d2 into nical:main Apr 20, 2024
3 checks passed
@hrydgard hrydgard deleted the upgrade-usvg-example branch April 20, 2024 18:35
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