]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 1 Jun 2017 13:33:17 +0000 (09:33 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 1 Jun 2017 13:33:17 +0000 (09:33 -0400)
MagickCore/annotate.c

index 50418a5e41c131a2764fa53003fe10252f16cb21..6392eb024a53b0f8a374600d48875a9e907be68b 100644 (file)
@@ -1498,6 +1498,8 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info,
       draw_info->encoding != (char *) NULL ? draw_info->encoding : "none",
       draw_info->pointsize);
   flags=FT_LOAD_DEFAULT;
+  if (draw_info->render == MagickFalse)
+    flags=FT_LOAD_NO_BITMAP;
   if (draw_info->text_antialias == MagickFalse)
     flags|=FT_LOAD_TARGET_MONO;
   else