Page 1 of 1

Is this a bug in convert? (6.6.9-3)

Posted: 2011-04-13T14:12:03-07:00
by sambessey
Hi,

When I run the following command on 6.6.9.3, the text does not resize to fill the area any more. It does in older versions such as 6.6.7.6. Is there a bug in this bit of functionality? (This is on CentOS 5.6)

Code: Select all

convert -size 420x420 -gravity northwest -fill '#000000' caption:'The string is meant to be a best fit on the text area in this case, so why is it not behaving itself? I would really like to know.It is a real mystery to me' bleh.gif
Adding +fontsize seems to also cause the lines of text to run wider than the length of the canvas.

Thanks

Sam

Re: Is this a bug in convert? (6.6.9-3)

Posted: 2011-04-13T14:52:21-07:00
by fmw42
It works fine for me under IM 6.6.9.4 Q16 Mac OSX Tiger. Perhaps that version of IM had a bug. Try upgrading.

Re: Is this a bug in convert? (6.6.9-3)

Posted: 2011-04-13T15:15:29-07:00
by sambessey
Ok good to know. Just wanted to raise the flag on this. This is on a hosting account and they currently run 6.6.9.3. I will ask them about an upgrade, but as it is shared hosting, they are not able to just upgrade straight away.

Thanks.

Re: Is this a bug in convert? (6.6.9-3)

Posted: 2011-04-13T16:23:06-07:00
by fmw42
Here is what I got from:

convert -size 420x420 -gravity northwest -fill '#000000' caption:'The string is meant to be a best fit on the text area in this case, so why is it not behaving itself? I would really like to know.It is a real mystery to me' test_caption.gif

Image

Is it possible that your default font is not working correctly? Try adding a specific font.