-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
path2Curve produces wrong result when converting L command #17
Comments
Thanks for the report, I believe this must be related to the latest optimizations, but will look into it asap. |
Thanks, I think the problem came from the following lines which calculate control points of cubic bezier: |
Exactly. |
@xiaoiver please test latest master, it's solved for me. |
@xiaoiver can you please confirm the fix? We're ready to push the next v1.0.5 now. |
I found another bug about converting A command to C, this is my test path:
It should look like this: But after converting to curve, it became this: |
I found the problem, it's the Will come back with a fix asap. Stay tuned. |
@xiaoiver please test. Now this works for me |
Path for testing:
after
toCurve
, I changed some CSS style:The text was updated successfully, but these errors were encountered: