Caption is wrapping a word with no spaces or linebreaks!
Posted: 2012-05-15T04:57:59-07:00
I'm using caption to create titles of a particular size, like this:
The word "Calculus" here is split to that the s is on the next line, which is very annoying.
How can I fix this?
I'm using CentOS 6.2 64bit and the ImageMagick version is 6.5.4.7-6.el6_2. I have tried to upgrade ImageMagick from source but get an error, I had no problem installing ImageMagick from source on CentOS 5, but I have never managed to install it from source on CentOS 6 due to errors during build, hence the use of the standard rpm.
Thank you!
Code: Select all
convert -background transparent -colorspace RGB -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Calculus" -trim test.jpg
How can I fix this?
I'm using CentOS 6.2 64bit and the ImageMagick version is 6.5.4.7-6.el6_2. I have tried to upgrade ImageMagick from source but get an error, I had no problem installing ImageMagick from source on CentOS 5, but I have never managed to install it from source on CentOS 6 due to errors during build, hence the use of the standard rpm.
Thank you!