IM version: ImageMagick 6.7.6-9 2012-05-16 Q16
OS: CentOS 6.2 64-bit
The following code does not wrap the text:
Code: Select all
convert -limit thread 1 -background transparent -colorspace CMYK -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Essays on the Drama, Edited With an Introduction and Notes" -trim -write working.mpc -format "%wx%h" info:-
For an example of what it looks like in the final image, see here:
http://us-fs.forgottenbooks.org/image.p ... 1000005673
For most sentences it looks nice, like this:
http://us-fs.forgottenbooks.org/image.p ... 1000004148
Older versions of IM did not have this problem (but had another problem where sometimes words would be wrapped onto the next line, which was even worse).
This only occurs on 1/100 sentences, and any change in font changes whether this happens because its dependent on the particular combinations of words, letters and their sizes, which changes when this issue occurs.
I have temporarily uploaded the font for testing to:
http://www.forgottenbooks.org/smallcaps.otf
I don't think it's a font issue, but there it is for you to check.