Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick6/issues/85
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jun 23, 2020
1 parent 17bd8e5 commit 147e715
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magick/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 147e715

Please sign in to comment.