You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect both output images to be visually the same, other than being scaled up, however the scaled one renders the SVG much larger than it should. This works correctly in node-canvas 2.x
node-canvas version
No Scaling
2x scaling
2.11.2
3.1.0
The text was updated successfully, but these errors were encountered:
When drawing an SVG after setting the width and height to a larger value the drawn SVG is scaled incorrectly.
I've put together a minimal reproduction:
index.js
image.svg
I would expect both output images to be visually the same, other than being scaled up, however the scaled one renders the SVG much larger than it should. This works correctly in node-canvas 2.x
The text was updated successfully, but these errors were encountered: