azul
azul copied to clipboard
svg not rendered correctly
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
Can repro, running on
- Windows 10 64 bit.
- Cargo
1.4.0
I used this SVG for comparison, captured in IntelliJ's preview
And here's how it looks in Azul by default.
Converting all the shapes to use paths instead solves the issue.