]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 24 May 2010 13:13:54 +0000 (13:13 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 24 May 2010 13:13:54 +0000 (13:13 +0000)
ChangeLog
coders/svg.c

index ea593f21dc4d64d21a89442a5c5a4df06815cbed..a03e4636c5ea89639184b0422e40a8ef5c5d0a25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-05-24  6.6.2-1 Cristy  <quetzlzacatenango@image...>
+  * Respect density when rendering SVG images.
+
 2010-05-23  6.6.2.0 Anthony Thyssen <A.Thyssen@griffith...>
   * Third Re-write of MorphologyApply() to better handle compound methods.
   * Implemented  -set option:morphology:compose for merging results of
index 746833b8fcecbd7c6c5d2021b57a1c786e3dda21..385ff0da18a17e7271cbb6186b656d5e07c2203b 100644 (file)
@@ -2657,7 +2657,6 @@ static void SVGExternalSubset(void *context,const xmlChar *name,
 }
 
 #if defined(MAGICKCORE_RSVG_DELEGATE)
-#if !defined(MAGICKCORE_CAIRO_DELEGATE)
 static void SVGSetImageSize(int *width,int *height,gpointer context)
 {
   Image
@@ -2668,7 +2667,6 @@ static void SVGSetImageSize(int *width,int *height,gpointer context)
   *height=(int) (*height*image->y_resolution/72.0);
 }
 #endif
-#endif
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }
@@ -2771,9 +2769,7 @@ static Image *ReadSVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
       if (svg_handle == (RsvgHandle *) NULL)
         ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
       rsvg_handle_set_base_uri(svg_handle,image_info->filename);
-#if !defined(MAGICKCORE_CAIRO_DELEGATE)
       rsvg_handle_set_size_callback(svg_handle,SVGSetImageSize,image,NULL);
-#endif
       if ((image->x_resolution != 72.0) && (image->y_resolution != 72.0))
         rsvg_handle_set_dpi_x_y(svg_handle,image->x_resolution,
           image->y_resolution);