Closed tabrs closed 4 years ago
As an addition - another example. Just adding in case you'll be able to trace the issue. `
`
What was drawn
What was expected
In case it will help somehow - I've changed a path data to following and NGraphics processed it correctly
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160"><path d="M26.56,80L80,26.56L133.44,80l-9.69,9.38L86.56,52.19v81.25H73.44V52.19l-37.5,37.19L26.56,80z"/></svg>
Anyway, just to make it clear - all browsers and vector graphics apps processed any following samples correctly.
I've tried to compare these two and following has shown up
First one (okay) exported in Adobe Illustrator CC.2019 in usual way - File -> Save As.. Second one (buggy) exported in the same app as File -> Export As.. (minified exporter for web)
Cheers!
Hello! Sorry for the long delay but I fixed this today. The problem lied in the parsing of numbers with negative signs with spaces. Thank you for the detailed descriptions!
Hi, following SVG was not processed correctly
Expected behavior is to draw something like this![image](https://user-images.githubusercontent.com/3337580/54884920-d9e0b300-4e76-11e9-97a9-0cc35d0f3df9.png)
Tested on Xamarin Forms 4.0 Android project on NGraphics 1.6.0-beta1 Processed directly on device - Samsung Tab 2 Active on API 27 (Android 8.1)