azul icon indicating copy to clipboard operation
azul copied to clipboard

svg not rendered correctly

Open picobyte opened this issue 5 years ago • 1 comments

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

picobyte avatar Jan 26 '20 15:01 picobyte

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

BornIncompetence avatar Feb 18 '20 20:02 BornIncompetence