Skip to content
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

SVG Loading is broken in Fabric 1.7.10 & 2.0 #3876

Closed
ncou opened this issue Apr 24, 2017 · 3 comments · Fixed by #3877
Closed

SVG Loading is broken in Fabric 1.7.10 & 2.0 #3876

ncou opened this issue Apr 24, 2017 · 3 comments · Fixed by #3877
Labels

Comments

@ncou
Copy link
Collaborator

ncou commented Apr 24, 2017

It seems that since the v1.7.10 the SVG loading function is broken.

http://jsfiddle.net/526wC/93/

There is an error on the cache : TypeError: this.group.isCaching is not a function

@asturur
Copy link
Member

asturur commented Apr 24, 2017

i did not create isCaching for pathGroup. can you do:

fabric.PathGroup.prototype.isCaching = fabric.Group.prototype.isCaching;

@ncou
Copy link
Collaborator Author

ncou commented Apr 24, 2017

I added the code snippet you mention, but the SVG is not correctly rendered.
It seems a part of the shape is not displayed.

For the moment, i have disabled the cache to continue to test.

@asturur
Copy link
Member

asturur commented Apr 24, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants