I am attempting to use the canvg javascript library to convert an svg to canvas.
Within the original svg, there is a rectangle with a fill attribute that references a svg pattern. However, when I convert the svg to canvas using canvg:
canvg(document.getElementById('canvas'), svg);
The appearance of the rectangle's fill changes in size (both width and height).
To see the original and converted svg images, click here.
Does anyone know how to resolve this issue?