From e06e600c217b884d89bf2f12560103082a922dba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jun 2020 09:30:10 +0200 Subject: test build for upstream fix --- 147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch (limited to '147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch') diff --git a/147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch b/147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch new file mode 100644 index 0000000..c2387ee --- /dev/null +++ b/147e71502f8f08f986c35bb1387dc0e7543dbcb7.patch @@ -0,0 +1,23 @@ +From 147e71502f8f08f986c35bb1387dc0e7543dbcb7 Mon Sep 17 00:00:00 2001 +From: Cristy +Date: Tue, 23 Jun 2020 19:53:43 -0400 +Subject: [PATCH] https://github.com/ImageMagick/ImageMagick6/issues/85 + +--- + magick/annotate.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/magick/annotate.c b/magick/annotate.c +index 663a3c4cc..32a08e767 100644 +--- a/magick/annotate.c ++++ b/magick/annotate.c +@@ -327,7 +327,8 @@ MagickExport MagickBooleanType AnnotateImage(Image *image, + height=(size_t) ceil(metrics.ascent-metrics.descent+ + draw_info->interline_spacing-0.5); + if (height == 0) +- height=(size_t) draw_info->pointsize; ++ height=(size_t) ceil(draw_info->pointsize+draw_info->interline_spacing- ++ 0.5); + switch (annotate->gravity) + { + case UndefinedGravity: -- cgit