From: anthony Date: Thu, 20 Oct 2011 05:44:17 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6784 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aace2f7781f150505e0f161f237f4e1bc71cbe4a;p=imagemagick --- diff --git a/coders/ttf.c b/coders/ttf.c index a3b5ba6f4..8729bb80f 100644 --- a/coders/ttf.c +++ b/coders/ttf.c @@ -290,11 +290,11 @@ static Image *ReadTTFImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) FormatLocaleString(buffer,MaxTextExtent," text 50,%.20g '%s'\n", (double) y, Phrase); ConcatenateString(&draw_info->primitive,buffer); - if (i <= 8) + if (i < 8) i++; - else if (i <= 12) + else if (i < 12) i+=2; - else if (i <= 24) + else if (i < 24) i+=6; else i+=12;