Merge branch 'master' into add-stream-object

This commit is contained in:
John Cupitt 2019-11-20 16:56:19 +00:00
commit 74ac881938
1 changed files with 4 additions and 3 deletions

View File

@ -570,9 +570,10 @@ vips_foreign_load_svg_parse( VipsForeignLoadSvg *svg, VipsImage *out )
* cairo instead.
*/
svg->cairo_scale = scale;
width = width * scale;
height = height * scale;
} else {
width = VIPS_ROUND_UINT( width * scale );
height = VIPS_ROUND_UINT( height * scale );
}
else {
/* SVG with width and height reports correctly scaled
* dimensions.
*/