-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fabric.Path is not drawn on canvas #3859
Comments
i m able to see the path with both fiddles. |
on what browser are you? |
Google Chrome version 57.0.2987.133 (64-bit) and Firefox 52.0.2 on Ubuntu 16. |
is see them perfectly on both fiddles. chrome 58 on macosx |
Hi, I can confirm that this bug reproduces on Chrome Version 57.0.2987.110 (64-bit) / Firefox 45.2.0 on CentOS 6.8. |
I can confirm that on MacOS with Chrome 57 it works ok. |
There is the same behaviors in the Chrome version 57.0.2987.113 If i add one of those properties the shape is draw :
|
a linux bug? i do not have a vm here to test. |
It also reproduses on Windows. |
i see on windows edge does not work ( i m on a VM ) if you rescale it then it works. |
ok i got it :D on my macbook worked because adding to a retina enabled canvas after initialization, doubled the cache dimensions and a redraw was triggered. i m fixing it. |
I use an example from fabric introduction page http://fabricjs.com/fabric-intro-part-1
Version
1.7.0 and higher
Test Case
http://jsfiddle.net/4ycgsovr/
Steps to reproduce
var canvas = new fabric.Canvas('c');
var path = new fabric.Path('M 0 0 L 300 100 L 100 300 z', {originX: 0, originY: 0});
canvas.add(path);
Expected Behavior
svg path is drawn on canvas:
http://jsfiddle.net/bnz4osxv/
this jsfiddle uses fabric version 1.6.7
Actual Behavior
svg path is not visible
The text was updated successfully, but these errors were encountered: