Problem with caption not wrapping properly
Posted: 2011-05-26T08:52:02-07:00
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
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