From: Cristy Date: Sat, 19 May 2018 01:02:32 +0000 (-0400) Subject: https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=34014 X-Git-Tag: 7.0.7-34~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8331c70f375198086175176787b4550909b17cec;p=imagemagick https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=34014 --- diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index b6db0e6c6..d3cf797c8 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1795,7 +1795,8 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, annotate_info->affine.tx=offset->x; annotate_info->affine.ty=offset->y; (void) ConcatenateString(&annotate_info->primitive,"'"); - (void) DrawImage(image,annotate_info,exception); + if (strlen(annotate_info->primitive) > 7) + (void) DrawImage(image,annotate_info,exception); (void) CloneString(&annotate_info->primitive,"path '"); } }