Caption not wrapping on some sentences
Posted: 2012-05-18T18:45:31-07:00
I'm using the latest version of IM, compiled from source, and the following code does not wrap the text:
For most sentences it will wrap nicely, but for some, such as the example given here "Essays on the Drama, Edited With an Introduction and Notes", the whole title is on one line and difficult to read because of this, with a lot of white space above and below when I position it centered in the 1335x806 space for which it is intended.
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).
Any idea what this is about?
Thanks!
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).
Any idea what this is about?
Thanks!