From 969a87bbb734ca086dbf92aaecf999add90a9f34 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 13 Sep 2016 07:13:49 -0400 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30462 --- coders/caption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/caption.c b/coders/caption.c index ceedbf26b..a66bbd7e7 100644 --- a/coders/caption.c +++ b/coders/caption.c @@ -264,7 +264,7 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info, else high=draw_info->pointsize-0.5; } - draw_info->pointsize=(low+high)/2.0-0.5; + draw_info->pointsize=floor((low+high)/2.0-0.5); } /* Draw caption. -- 2.40.0