[magick-users] Font problem involving convert
Christina Williams
ftccw at uaf.edu
Tue Jul 10 16:48:19 PDT 2007
Hi All,
I am continuing to have a problem I wrote about previously, except now it
is occuring on a brand new linux computer running IM version 6.2.8, newly
installed. When I try to enter a convert command, it has this error:
"convert: unable to read font
'/usr/share/fonts/default/TrueType/arial.ttf'. This folder doesnt exist,
and within the fonts folder, there is a Type1 and ghostscript folder,
neither of which contain this font or even a font with this file
extension.
This same convert command is currently running just fine on a different
computer, which is running IM version 5.3.8.
The command that sets this off is as follows:
/usr/bin/convert $txt_fmt -draw $drawcmd:q filename.raw filename.png
where $txt_fmt = '-fill white -box black -pointsize 50 -gravity south'
and $drawcmd = 'text 0,960 "'$timestamp:q'"'
where $timestamp is just a string with the time
I was previously informed this was an outdated way to use convert, but
I've inherited this script from a previous employee, and would prefer to
leave things the way they are for the purpose of being consistent. It
seems to me that it should be as simple as adding whatever font package IM
thinks it needs, or changing the defaults to use the fonts already on my
computer.
Please advise!
Thanks
Christina Williams
More information about the Magick-users
mailing list