fonts not recognised
Posted: 2010-03-29T08:28:19-07:00
Iam new to Mac. When i try to annotate, the font, though listed in type.xml seems to be missing. I ran imagick_type_gen.pl to generate my type.xml. Pls help to solve this.
this is the error returned .
convert: unable to read font `CenturySchoolbookB' @ annotate.c/RenderType/807.
convert: unable to read font `/usr/local/lib/ImageMagick-6.5.8/config//usr/local/share/ghostscript/n019003l.pfb' @ annotate.c/RenderFreetype/1043.
convert: unable to read font `CenturySchoolbookB' @ annotate.c/RenderType/807.
convert: unable to read font `/usr/local/lib/ImageMagick-6.5.8/config//usr/local/share/ghostscript/n019003l.pfb' @ annotate.c/RenderFreetype/1043.
this is what is listed in type.xml
CenturySchoolbookB - Century Schoolbook Bold - Century Schoolbook
<type
format="type1"
name="CenturySchoolbookB"
fullname="Century Schoolbook Bold"
family="Century Schoolbook"
glyphs="/usr/local/share/ghostscript/fonts/c059016l.pfb"
metrics="/usr/local/share/ghostscript/fonts/c059016l.afm"
/>
Code: Select all
convert -size 400x100 xc:red -font CenturySchoolbookB -fill white -pointsize 22 -annotate 0 'mini' final.jpg
convert: unable to read font `CenturySchoolbookB' @ annotate.c/RenderType/807.
convert: unable to read font `/usr/local/lib/ImageMagick-6.5.8/config//usr/local/share/ghostscript/n019003l.pfb' @ annotate.c/RenderFreetype/1043.
convert: unable to read font `CenturySchoolbookB' @ annotate.c/RenderType/807.
convert: unable to read font `/usr/local/lib/ImageMagick-6.5.8/config//usr/local/share/ghostscript/n019003l.pfb' @ annotate.c/RenderFreetype/1043.
this is what is listed in type.xml
CenturySchoolbookB - Century Schoolbook Bold - Century Schoolbook
<type
format="type1"
name="CenturySchoolbookB"
fullname="Century Schoolbook Bold"
family="Century Schoolbook"
glyphs="/usr/local/share/ghostscript/fonts/c059016l.pfb"
metrics="/usr/local/share/ghostscript/fonts/c059016l.afm"
/>