possible bug caption: IM 6.7.2.7 Q16
Posted: 2011-09-20T11:25:12-07:00
IM 6.7.2.7 Q16 Mac OSX Tiger
I am just following up and confirming a potential issue raised at viewtopic.php?f=1&t=19501.
Although I am not sure why one would do this, but it seems that if the pointsize is too large for the specified width (ie. width is too small for pointsize), caption: for a single character will hang.
This works, though caption reduces the pointsize accordingly.
convert -size 50x -background none -font Arial -pointsize 72 -fill "#000000" -gravity west caption:"A" test1.png
However, this fails and hangs for me
convert -size 40x -background none -font Arial -pointsize 72 -fill "#000000" -gravity west caption:"A" test2.png
It would appear that IM is having trouble deciding upon an appropriate pointsize for the given width. If this cannot be fixed, then perhaps a more graceful exit and error message might be in order, if that is appropriate and possible.
I am just following up and confirming a potential issue raised at viewtopic.php?f=1&t=19501.
Although I am not sure why one would do this, but it seems that if the pointsize is too large for the specified width (ie. width is too small for pointsize), caption: for a single character will hang.
This works, though caption reduces the pointsize accordingly.
convert -size 50x -background none -font Arial -pointsize 72 -fill "#000000" -gravity west caption:"A" test1.png
However, this fails and hangs for me
convert -size 40x -background none -font Arial -pointsize 72 -fill "#000000" -gravity west caption:"A" test2.png
It would appear that IM is having trouble deciding upon an appropriate pointsize for the given width. If this cannot be fixed, then perhaps a more graceful exit and error message might be in order, if that is appropriate and possible.