File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
14
14
* Fix a crash when SVGs without width or height are loaded (#2486 )
15
15
* Fix fetching prebuilds during installation on certain newer versions of Node (#2497 )
16
16
* Fixed issue with fillText that was breaking subsequent fillText calls (#2171 )
17
+ * Fix svg rendering when the image is resized (#2498 )
17
18
18
19
3.1.0
19
20
==================
Original file line number Diff line number Diff line change @@ -1506,9 +1506,6 @@ Image::renderSVGToSurface() {
1506
1506
}
1507
1507
1508
1508
cairo_t *cr = cairo_create (_surface);
1509
- cairo_scale (cr,
1510
- (double )width / (double )naturalWidth,
1511
- (double )height / (double )naturalHeight);
1512
1509
status = cairo_status (cr);
1513
1510
if (status != CAIRO_STATUS_SUCCESS) {
1514
1511
g_object_unref (_rsvg);
You can’t perform that action at this time.
0 commit comments