You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found a possible cause/fix for this issue. It seems like a formatting issue with non-standard representations of arcs. The code will work after adding spaces like the image below. Some SVG optimization tools (e.g. https://www.svgviewer.dev/ ) may be able to do this automatically.
Thanks for following up. These changes resolved my issue. It's interesting that some engines are more lenient in their parsing. But it makes more sense to have clean inputs when possible.
The following is valid SVG data and works in this fiddle.
"M12.5 11H11.71L11.43 10.73A6.471 6.471 0 0013 6.5 6.5 6.5 0 106.5 13C8.11 13 9.59 12.41 10.73 11.43L11 11.71V12.5L16 17.49 17.49 16 12.5 11ZM6.5 11C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11Z"
However, it fails to parse in 0.7.16.
file: .../commonMain/org/jetbrains/skia/Path.kt
The text was updated successfully, but these errors were encountered: