Re: convert: unable to read font

[email protected] Thu, 26 Feb 2009 16:25:14 -0800
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
> for a file called a010013l.pfb. It's not in any of those directories  
>on my system. Somehow it seems to fall back to ${prefix}/share/ 
>ghostscript/fonts.

If you can improve the font path detection in the configure script for
Mac OS X, that would be grand.  Post your patches here or send it to this
e-mail address.


> Can I have ImageMagick use multiple font paths or must it be a single  
> directory?

See http://www.imagemagick.org/Usage/ near the bottom of the page, section
Font Usage.  Anthony has a script that searches all the font paths on your
system and generates a font configure file that ImageMagick can use.

> Can ImageMagick read the various formats of Mac OS X fonts? They're  
> usually in /System/Library/Fonts, /Library/Fonts, /Network/Library/ 
> Fonts and ~/Library/Fonts.

ImageMagick can ready any font that Freetype understands.

> It seems that ImageMagick creates a catalog of available fonts at  
> install time? What if the user adds fonts later?

You can add them to the system type.xml configuration file and you can 
specify your own fonts in ~/.magick/type.xml.

If you include the fontconfig delegate library, ImageMagick queries it for
system fonts.  The fontconfig library is available on Linux systems.  We're
not sure if its available for the Mac.