[Magick-bugs] convert: unable to read font
Ryan Schmidt
imagemagick-2009a at ryandesign.com
Thu Feb 26 10:09:02 UTC 2009
Hello. I'm the maintainer of ImageMagick in MacPorts, but I'm not
sure what to do about this problem that was reported to me here:
http://trac.macports.org/ticket/18647
The reporter Jeremy Huddleston maintains our X11 ports.
ImageMagick seems to get some bad information about where fonts are
on my system. I'm not sure where it gets the information from. My
test was with ImageMagick 6.4.9-6 on Mac OS X 10.4.11 Intel:
$ convert -font Times-Roman -pointsize 12 label:Test out.png
convert: unable to read font `/mp/lib/ImageMagick-6.4.9/config//mp/
share/ghostscript/fonts/n021003l.pfb' @ annotate.c/RenderFreetype/1315.
convert: unable to read font `/mp/lib/ImageMagick-6.4.9/config//mp/
share/ghostscript/fonts/n021003l.pfb' @ annotate.c/RenderFreetype/1315.
convert: unable to read font `/mp/lib/ImageMagick-6.4.9/config//mp/
share/ghostscript/fonts/n021003l.pfb' @ annotate.c/RenderFreetype/1315.
$
"convert -list font" shows these incorrect paths too.
$ convert -list font
Path: /mp/lib/ImageMagick-6.4.9/config/type-ghostscript.xml
Font: AvantGarde-Book
family: AvantGarde
style: Normal
stretch: Normal
weight: 400
glyphs: /mp/lib/ImageMagick-6.4.9/config//mp/share/ghostscript/
fonts/a010013l.pfb
^C
$
There is of course no directory /mp/lib/ImageMagick-6.4.9/config//mp/
share/ghostscript/fonts. There is a directory /mp/share/ghostscript/
fonts. But the second problem is that this directory does not contain
the font files named above. It contains only these files:
$ ls /mp/share/ghostscript/fonts
bchb.afm hrger.pfa hrplr.gsf hrscsb.gsf
bchb.pfa hrgerb.gsf hrplrb.gsf hrscso.gsf
bchbi.afm hrgerd.gsf hrplrbo.gsf hrsyr.gsf
bchbi.pfa hrgero.gsf hrplro.gsf putb.pfa
bchr.afm hrgkc.gsf hrpls.gsf putbi.pfa
bchr.pfa hrgks.gsf hrplsb.gsf putr.pfa
bchri.afm hrgrr.pfa hrplsbo.gsf putri.pfa
bchri.pfa hrgrrb.gsf hrplso.gsf u003043t.afm
fcyr.afm hrgrro.gsf hrplt.pfa u003043t.gsf
fcyr.gsf hritr.pfa hrpltb.gsf u003043t.pfm
fcyri.afm hritrb.gsf hrpltbi.gsf u004006t.afm
fcyri.gsf hritro.gsf hrplti.pfa u004006t.gsf
fhirw.gsf hrpld.pfa hrscc.pfa u004006t.pfm
fhirw.pfm hrpldb.gsf hrsccb.gsf
fkarw.gsf hrpldbi.gsf hrscco.gsf
fkarw.pfm hrpldi.pfa hrscs.pfa
$
More information about the Magick-bugs
mailing list