Look at the error messages given, it says the problem right there.
"FreeType library is not available" - ImageMagick uses the FreeType library to render fonts, you have given it a TTF to use, and it says FreeType is not installed, so it can not use the font. Install FreeType, then reinstall/recompile ImageMagick to get FreeType support.
The second error is probably ImageMagick trying to fallback to rendering the font using its postscript rasterisation support, usually this is via ghostscript (gs)
, hence "Postscript delegate failed". Either ghostscript
is not available, or the path for the temporary file it asks ghostscript to render too/from is not writable. Could be fixed by installing ghostscript and making sure that temporary directory has full write access, as people mention in the comments to the question.
To confirm these causes, use the -list
option of convert.
convert -list format
: This will show you the supported file types, look for TTF, make sure it has at leastr--
status, it should say something like"TTF* TTF r-- TrueType font (Freetype 2.2.1)"
if FreeType is installed correctly.convert -list delegate
: This will show handling of delegated types and the command line used. It will be using one of theps
converters as a fallback.
As I say, easiest fix is to install FreeType, then recompile/reinstall ImageMagick.