From: Cristy Date: Wed, 19 Apr 2017 00:49:49 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-5~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e056c2b089f1b05093e6e4d3f63e32d31c65d2a;p=imagemagick ... --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 36a15b842..3187c348f 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -1279,8 +1279,8 @@ static void DrawBoundingRectangles(Image *image,const DrawInfo *draw_info, clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); (void) QueryColorCompliance("#000F",AllCompliance,&clone_info->fill, exception); - resolution.x=DefaultResolution; - resolution.y=DefaultResolution; + resolution.x=96.0; + resolution.y=96.0; if (clone_info->density != (char *) NULL) { GeometryInfo @@ -1295,7 +1295,7 @@ static void DrawBoundingRectangles(Image *image,const DrawInfo *draw_info, if ((flags & SigmaValue) == MagickFalse) resolution.y=resolution.x; } - mid=(resolution.x/72.0)*ExpandAffine(&clone_info->affine)* + mid=(resolution.x/96.0)*ExpandAffine(&clone_info->affine)* clone_info->stroke_width/2.0; bounds.x1=0.0; bounds.y1=0.0;