[Magick-bugs] convert: unable to read font
Ryan Schmidt
imagemagick-2009a at ryandesign.com
Fri Feb 27 02:17:14 UTC 2009
On Feb 26, 2009, at 18:25,
duc.sequere.aut.de.via.decede at imagemagick.org wrote:
>> 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.
Using fontconfig sounds best. fontconfig is supposed to work fine on
Mac OS X and it is in MacPorts and the ImageMagick port declares a
dependency on the fontconfig port and ImageMagick's config.log does
contain the line "#define FONTCONFIG_DELEGATE 1" and "otool -L" shows
that ImageMagick programs like convert are linking with
libfontconfig. Should I have to do anything else to get ImageMagick
to now use fontconfig or should it already be happening?
More information about the Magick-bugs
mailing list