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

svg not rendered correctly #240

Open
picobyte opened this issue Jan 26, 2020 · 1 comment
Open

svg not rendered correctly #240

picobyte opened this issue Jan 26, 2020 · 1 comment

Comments

@picobyte
Copy link

In the SVG drawing example [1] if tiger.svg is replaced with another, e.g. Test.svg [2], then rendering is incorrect.

[1] https://github.com/maps4print/azul/tree/master/examples/svg
[2] https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg

@BornIncompetence
Copy link

Can repro, running on

  • Windows 10 64 bit.
  • Cargo 1.4.0

I used this SVG for comparison, captured in IntelliJ's preview
image

And here's how it looks in Azul by default.
image

Converting all the shapes to use paths instead solves the issue.
image

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

No branches or pull requests

2 participants