Page 1 of 1

possible bug caption: IM 6.7.8.6

Posted: 2012-07-30T17:13:23-07:00
by fmw42
IM 6.7.8.6 Q16 Mac OSX Snow Leopard:

It seems like the pointsize determined by caption: may have changed recently. I am getting a different pointsize for IM 6.7.8.6 in comparison to IM 6.7.6.10 (imo) and IM 6.7.4.10 (im6). For at least IM 6.7.8.6 and IM 6.7.4.10 I have expliitly recompiled --without pango, though pango is installed.

Here are my commands:

convert -size 80x80 -background white -fill black -font Arial caption:'This Is A Test' 1tmp_im.gif
Image

Note: the slightly smaller font above -- the text does not go as close to the right side of the background here as in the other two.

im6 convert -size 80 -background white -fill black -font Arial caption:'This Is A Test' 1tmp_im6.gif
Image

imo convert -size 80 -background white -fill black -font Arial caption:'This Is A Test' 1tmp_imo.gif
Image

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-07-30T17:26:12-07:00
by magick
When fixing a caption bug, there was a change in the pointsize algorithm. A different pointsize result in recent versions of ImageMagick is expected.

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-07-30T18:04:00-07:00
by fmw42
magick wrote:When fixing a caption bug, there was a change in the pointsize algorithm. A different pointsize result in recent versions of ImageMagick is expected.

OK.

Can you explain the rational for the change that occurred? Was that in reference to the following so that I know the reason and the version where the change occurred?


2012-05-28 6.7.7-3 Cristy <quetzlzacatenango@image...>
In rare cases, caption would not word-wrap properly (reference viewtopic.php?f=3&t=21106).

Thanks

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-09-25T17:11:32-07:00
by davistv
I've noticed a problem with 6.7.9-6 when using Vera.ttf. It omits the final character of my caption, very annoying. Most recent code from svn does the same thing. I'm recompiling 6.7.8.10 right now to test it with that, but I just found this thread, and I'm assuming this issue appeared with 6.7.8.6. Might revert to 6.7.7.x to get something that works properly again.

Any idea of when this might get looked at again?

And is there a copy of 6.7.8.5 floating around somewhere? I don't see it at http://www.imagemagick.org/download/legacy/

Thank You,
Troy

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-09-25T17:33:18-07:00
by fmw42
davistv wrote: And is there a copy of 6.7.8.5 floating around somewhere? I don't see it at http://www.imagemagick.org/download/legacy/
Troy
Assuming you are using Unix, see http://ftp.nluug.nl/ImageMagick/

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-09-25T22:26:34-07:00
by davistv
More details...

I'm using this command:

convert -background white -fill black -font ~/fonts/Vera.ttf -size 284x248 caption:'Troy Davis' name.gif

That's the standard Bitstream Vera.ttf. When I use this command with ImageMagick 6.7.6-10 and earlier, I get what I expect. But from 6.7.7-10 onward, the "s" at the end is omitted from the gif file, giving "Troy Davi".

Can anyone else verify this issue?

Thank You,
Troy

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-09-26T02:46:56-07:00
by magick
We can reproduce the problem you reported. We'll have a patch in a day or two. Thanks.

Re: possible bug caption: IM 6.7.8.6

Posted: 2012-11-15T14:08:09-07:00
by davistv
Any update on this?

Thanks!
Troy