]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 6 Dec 2009 15:30:13 +0000 (15:30 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 6 Dec 2009 15:30:13 +0000 (15:30 +0000)
ChangeLog
coders/svg.c

index 03674fdd019df0432cabde54bc47bbedb3d5c5b5..8f26928d19065e2cd630177987fd8994f90662d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,3 @@
-2009-12-06  6.5.8-4 Nicolas George  <nicolas.george@norma...>
-  * Produce the correct resolution when the SVG file is coded in units rather
-    than pixels.
-
 2009-12-04  6.5.8-3 Glenn Randers-Pehrson <glennrp@image...>
   * Changed the one instance of PNG_COLOR_TYPE_RGBA to PNG_COLOR_TYPE_RGB_ALPHA
     in coders/png.c
index c3f1c385f979769144f5de5640977a8427e57177..529d0db967cf67963d4fc42315723fd0abe21624 100644 (file)
@@ -2780,8 +2780,8 @@ static Image *ReadSVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
         g_error_free(error);
 #if defined(MAGICKCORE_CAIRO_DELEGATE)
       rsvg_handle_get_dimensions(svg_handle,&dimension_info);
-      image->columns=dimension_info.width;
-      image->rows=dimension_info.height;
+      image->columns=dimension_info.width*image->x_resolution/72.0;
+      image->rows=dimension_info.height*image->x_resolution/72.0;
       pixels=(unsigned char *) NULL;
 #else
       pixel_info=rsvg_handle_get_pixbuf(svg_handle);