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.
It looks like we're going to need to separate caption: into two coders, caption: and pango: as Anthony recommends. There are a number of minor differences between Pango rendering and Freetype rendering.
That is -size is not needed for pango, but the if I give a -size then the text is not interpreted as pango text but a string caption.
Also... Can we PLEASE: make pango a different coder to that of normal caption: It would make the above problems easier to deal with, and more backward compatible.
I just upgraded to IM 6.7.6.1 Q16 Mac OSX Snow Leopard. The changelog appears to indicate that CAPTION and PANGO have been separated and that they are now gravity sensitive again.
I have pango installed. But from convert -list format
CAPTION* CAPTION r-- Caption (Pangoft2 1.28.4)
There is no PANGO listed.
So something is wrong as CAPTION is still using Pango
Also neither of the following work correctly:
# this one is still left justified (as posted in the first messages above)
convert -background lightblue -fill blue -font Candice -pointsize 40 \
-size 320x -gravity Center caption:'ImageMagick Rules OK!' \
caption_centered.gif
# this one gives an error message
convert -background lightblue -fill blue -font Candice -pointsize 40 \
-size 320x -gravity Center pango:'ImageMagick Rules OK!' \
pango_centered.gif
convert: no decode delegate for this image format `ImageMagick Rules OK!' @ error/constitute.c/ReadImage/532.