[Novalug] Install TrueType fonts for ImageMagick
tjones at lgb-inc.com
Fri Nov 13 08:04:15 EST 2009
I am trying to annotate some images with text using ImageMagick, but I don't have the TrueType fonts installed on my computer. I've created a shell script to annotate images in a directory using the command - "/usr/bin/convert filename.png -gravity South -background Khaki -splice 0x18 -annotate +0+2 'Text to appear on Image' filename_a.png" and I get the error message "convert: unable to read font `/usr/share/fonts/default/TrueType/arial.ttf'." I don't have a TrueType fonts sub-directory in the /usr/share/fonts/default directory. I've reviewed the /usr/lib/ImageMagick-6.2.8/config/type-windows.xml file and all the true type font files should be in the /usr/share/fonts/default/TrueType directory. I've also run the command "identify -list configure" to see how ImageMagick was configured for Red Hat Enterprise Linux Desktop v.5. My question is from where would I get the TrueType fonts and how do I install them? Do I have to configure or re-compile ImageMagick after the TrueType fonts are installed? I'm using Red Hat Enterprise Linux Desktop v.5. and have version 6.2.8 of ImageMagick.
More information about the Novalug