From: Cristy Date: Fri, 2 Jun 2017 12:04:38 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-10~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b833dd1d9149fe86e235239239b56a141b18bcee;p=imagemagick ... --- diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 6392eb024..2d6a0ea64 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1632,10 +1632,11 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, /* Rasterize the glyph. */ - transparent_fill=(draw_info->fill.alpha == TransparentAlpha) && + transparent_fill=((draw_info->fill.alpha == TransparentAlpha) && (draw_info->fill_pattern == (Image *) NULL) && (draw_info->stroke.alpha == TransparentAlpha) && - (draw_info->stroke_pattern == (Image *) NULL); + (draw_info->stroke_pattern == (Image *) NULL)) ? MagickTrue : + MagickFalse; image_view=AcquireAuthenticCacheView(image,exception); r=bitmap->bitmap.buffer; for (y=0; y < (ssize_t) bitmap->bitmap.rows; y++)