From: anthony Date: Thu, 20 Oct 2011 06:26:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6781 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1daa13afbf60175d29c49989c3a474a995d06ce4;p=imagemagick --- diff --git a/coders/ttf.c b/coders/ttf.c index 76678ce03..ca3ab8911 100644 --- a/coders/ttf.c +++ b/coders/ttf.c @@ -278,7 +278,7 @@ static Image *ReadTTFImage(const ImageInfo *image_info,ExceptionInfo *exception) ConcatenateString(&draw_info->primitive,buffer); y+=12*(ssize_t) MultilineCensus((char *) Text); /* FUTURE: A setting to specify the text to use */ - for (i=6; i <= 72; ) + for (i=5; i <= 72; ) { y += (i+2>12) ? i+2 : 12; /* line spacing */ ConcatenateString(&draw_info->primitive," font-size 12\n");