Skip to content

Commit 634791a

Browse files
author
Cristy
committed
Improve mono font rendering
1 parent 6953c99 commit 634791a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎ChangeLog‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
2020-03-22 7.0.10-3 Cristy <quetzlzacatenango@image...>
55
* The -charcoal option should ignore the alpha channel.
66
* Fix numerical instability issue when drawing lines
7+
* Improve mono font rendering (reference
8+
https://imagemagick.org/discourse-server/viewtopic.php?f=1&t=37723).
79

810
2020-03-21 7.0.10-2 Cristy <quetzlzacatenango@image...>
911
* Release ImageMagick version 7.0.10-2, GIT revision 17088:ed6f37f:20200322.

‎MagickCore/annotate.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info,
15181518
if (draw_info->render == MagickFalse)
15191519
flags=FT_LOAD_NO_BITMAP;
15201520
if (draw_info->text_antialias == MagickFalse)
1521-
flags|=FT_LOAD_TARGET_MONO;
1521+
flags|=FT_LOAD_RENDER | FT_LOAD_TARGET_MONO;
15221522
else
15231523
{
15241524
#if defined(FT_LOAD_TARGET_LIGHT)

0 commit comments

Comments
 (0)