canvg icon indicating copy to clipboard operation
canvg copied to clipboard

The converted canvas does not look exactly as the original svg when using fill url

Open rivkabr opened this issue 10 years ago • 2 comments

The original svg contains circles which have a fill attribute of url to a svg pattern. When I convert the svg to canvas using canvg, the images of the circles fill change their proportions (The width and the height change). you can see here the svg before and after the conversion.

rivkabr avatar Oct 22 '15 13:10 rivkabr

I am facing the similar issue. When I convert svg to canvas my pattern image fill happen before conversion does not affect in the after conversion. It is filled with black color. Any one have solution for this?

prabhakaran8737 avatar Feb 19 '16 13:02 prabhakaran8737

i started doing some work on this but it might be a while due to time restrictions, but if somebody opens a PR, i'll gladly verify the fix.

gabelerner avatar Feb 29 '16 04:02 gabelerner