Skip to content

Commit bf62855

Browse files
author
dirk
committed
Fixed dpi problem.
git-svn-id: https://subversion.imagemagick.org/subversion/ImageMagick@14245 aa41f4f7-0bf4-0310-aa73-e5a19afd5a74
1 parent 8195421 commit bf62855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trunk/coders/svg.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2990,8 +2990,8 @@ static Image *ReadSVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
29902990
cairo_set_operator(cairo_image,CAIRO_OPERATOR_CLEAR);
29912991
cairo_paint(cairo_image);
29922992
cairo_set_operator(cairo_image,CAIRO_OPERATOR_OVER);
2993-
cairo_scale(cairo_image,image->resolution.x/72.0,
2994-
image->resolution.y/72.0);
2993+
cairo_scale(cairo_image,image->resolution.x/90.0,
2994+
image->resolution.y/90.0);
29952995
rsvg_handle_render_cairo(svg_handle,cairo_image);
29962996
cairo_destroy(cairo_image);
29972997
cairo_surface_destroy(cairo_surface);

0 commit comments

Comments
 (0)