fonts not recognised

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
miniprash

fonts not recognised

Post by miniprash »

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.

Code: Select all

convert -size 400x100 xc:red  -font CenturySchoolbookB -fill white -pointsize  22 -annotate 0 'mini' final.jpg
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"
/>
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: fonts not recognised

Post by fmw42 »

I am no expert on this, but think you may need to have ttf fonts.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: fonts not recognised

Post by magick »

PFB fonts are fine.

Do you have Ghostscript installed? Otherwise type
  • identify -list font
to determine which fonts are supported.
Post Reply