possible bug caption: IM 6.7.8.6

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug caption: IM 6.7.8.6

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug caption: IM 6.7.8.6

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug caption: IM 6.7.8.6

Post 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
davistv
Posts: 3
Joined: 2012-05-07T15:51:16-07:00
Authentication code: 13

Re: possible bug caption: IM 6.7.8.6

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug caption: IM 6.7.8.6

Post 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/
davistv
Posts: 3
Joined: 2012-05-07T15:51:16-07:00
Authentication code: 13

Re: possible bug caption: IM 6.7.8.6

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug caption: IM 6.7.8.6

Post by magick »

We can reproduce the problem you reported. We'll have a patch in a day or two. Thanks.
davistv
Posts: 3
Joined: 2012-05-07T15:51:16-07:00
Authentication code: 13

Re: possible bug caption: IM 6.7.8.6

Post by davistv »

Any update on this?

Thanks!
Troy
Post Reply