Merge branch 'master' into 8.11

This commit is contained in:
John Cupitt 2021-06-09 13:23:20 +01:00
commit 06b429955a

View File

@ -350,6 +350,7 @@ vips_foreign_load_svg_generate( VipsRegion *or,
* running inside a non-threaded tilecache.
*/
if( !rsvg_handle_render_cairo( svg->page, cr ) ) {
cairo_destroy( cr );
vips_operation_invalidate( VIPS_OPERATION( svg ) );
vips_error( class->nickname,
"%s", _( "SVG rendering failed" ) );