I have 6.6.9-7. q16 dynamic - window 2003 server as well as XP. It does the same on both.
If I do:
convert -density 300 -size 1650x1275 xc:"#ffffcc" ( -background "#00
000000" -fill "#000000" -font c:\windows\fonts\CENTURY.TTF -size 1200x -pointsiz
e 28 -gravity center caption:"This is a test of some really long caption that is
intended to wrap and truncated" -trim +repage ) -gravity south -geometry +0+300
-composite -resize 20% test4.png
it does not wrap right. I have tried this with different fonts and font sizes and sometimes it works correctly and some times it does not. Is this a bug or am I doing something wrong? More times than not, it works correctly, but not always.
I isolated it down to:
convert -density 300 -background "#00000000" -fill "#000000" -font c
:\windows\fonts\CENTURY.TTF -size 1200x -pointsize 28 -gravity center caption:"T
his is a test of some really long caption that is intended to wrap and truncated
" test4.png
and it still does not wrap properly
Problem with caption not wrapping properly
Re: Problem with caption not wrapping properly
We're getting reasonable results with ImageMagick 6.6.9-10, the current release. If that version still fails for you, let us know.
Re: Problem with caption not wrapping properly
That vewsion was not available, so I uploaded 7.0. It is working fine on my test machine. I will load that version on my server and test it better and see what happens.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem with caption not wrapping properly
troyd1 wrote:That vewsion was not available, so I uploaded 7.0. It is working fine on my test machine. I will load that version on my server and test it better and see what happens.
Do you mean IM 6.7.0.0? or IM 7.0.0.0? The latter is forked and in pre-alpha and I would not suggest you use it.
The latest release available today is 6.7.0.1. See http://www.imagemagick.org/script/binary-releases.php or http://www.imagemagick.org/download/www ... .html#unix