From 7e937afd3a10ffc22f4dda1a2553b93ffba54db9 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 28 Sep 2019 08:25:13 -0400 Subject: [PATCH] ... --- MagickCore/annotate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 6034f4088..8b2aa9ecf 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1317,7 +1317,7 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, FT_UInt first_glyph_id, last_glyph_id, - space_glyph_id; + missing_glyph_id; FT_Vector origin; @@ -1567,7 +1567,7 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, grapheme=(GraphemeInfo *) NULL; length=ComplexTextLayout(image,draw_info,p,strlen(p),face,flags,&grapheme, exception); - space_glyph_id=FT_Get_Char_Index(face,' '); + missing_glyph_id=FT_Get_Char_Index(face,' '); code=0; for (i=0; i < (ssize_t) length; i++) { @@ -1579,7 +1579,7 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, */ glyph.id=(FT_UInt) grapheme[i].index; if (glyph.id == 0) - glyph.id=space_glyph_id; + glyph.id=missing_glyph_id; if ((glyph.id != 0) && (last_glyph_id != 0)) origin.x+=(FT_Pos) (64.0*draw_info->kerning); glyph.origin=origin; -- 2.40.0