fschutt / azul

Desktop GUI Framework
https://azul.rs/
Mozilla Public License 2.0
5.92k stars 219 forks source link

svg not rendered correctly #240

Open picobyte opened 4 years ago

picobyte commented 4 years ago

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 commented 4 years ago

Can repro, running on

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