From: cristy Date: Sat, 11 May 2013 19:13:01 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3686 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53f220f7d5fd50fd47d8bd7670feb79a1e78ec8e;p=imagemagick --- diff --git a/coders/caption.c b/coders/caption.c index f7a15b5dd..b5e8654d5 100644 --- a/coders/caption.c +++ b/coders/caption.c @@ -250,7 +250,7 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info, else high=draw_info->pointsize-1.0; } - draw_info->pointsize=(low+high)/2.0; + draw_info->pointsize=(low+high)/2.0-1.0; } (void) CloneString(&draw_info->text,caption); i=FormatMagickCaption(image,draw_info,MagickFalse,&metrics,&caption, diff --git a/coders/label.c b/coders/label.c index dcdfb4a80..b520282ac 100644 --- a/coders/label.c +++ b/coders/label.c @@ -191,7 +191,7 @@ static Image *ReadLABELImage(const ImageInfo *image_info, else high=draw_info->pointsize-1.0; } - draw_info->pointsize=(low+high)/2.0; + draw_info->pointsize=(low+high)/2.0-1.0; } status=GetMultilineTypeMetrics(image,draw_info,&metrics,exception); if (status == MagickFalse)