-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clip_to_viewbox parsing error #274
Comments
Thanks for the issue report. skia-pathops (python bindings to Skia PathOps module) is used to do boolean path intersection to clip shapes to the viewbox rectangle. Sometimes PathOps reports an error as in this case, unfortunately it doesn't tell us what exactly was wrong.. It's currently a bit of a black box for us. This is how your SVG looks like, looks quite plain to me (I don't see how pathops would fail on it): We could try to reproduce the error by only using Skia C++ API and write an interactive "fiddle" like this https://fiddle.skia.org/c/897a5a7d11e721faac930f67d7598557 and then send a bug to upstream skia and hope it'll get fixed. |
@yisibl I get the same |
Sad, let's continue to wait for the improvement upstream. |
hm, that's maybe what is tripping pathops. |
picosvg --clip_to_viewbox test.svg
The text was updated successfully, but these errors were encountered: