From a64d8007a138a0efeedc286de10538f2e8c7fe6b Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 16 Nov 2014 12:12:12 +0000 Subject: [PATCH] --- MagickCore/annotate.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 13a813c88..1316c8cd1 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1293,13 +1293,7 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, if (image->storage_class != DirectClass) (void) SetImageStorageClass(image,DirectClass,exception); if (image->alpha_trait == UndefinedPixelTrait) - if ((draw_info->fill.alpha != OpaqueAlpha) || - ((draw_info->fill_pattern != (Image *) NULL) && - (draw_info->fill_pattern->alpha_trait != UndefinedPixelTrait)) || - (draw_info->stroke.alpha != TransparentAlpha) || - ((draw_info->stroke_pattern != (Image *) NULL) && - (draw_info->stroke_pattern->alpha_trait != UndefinedPixelTrait))) - (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); + (void) SetImageAlphaChannel(image,OpaqueAlphaChannel,exception); } direction=1.0; if (draw_info->direction == RightToLeftDirection) -- 2.40.0