On Mon, 06 Apr 2009 14:50:50 -0500
Ted Onley <[email protected]> wrote:

| I've been trying to figure out how Image Magick and PerlMagick determine what 
| fonts are available for annotating.  I've found the .xml files in the config 
| directory, and I've played around with it, and now I've successfully confused 
| myself....
| 
| When I execute 'convert -list font', I get a list of fonts, which I assume 
are 
| fonts Image Magick knows about.  This list doesn't contain all of the fonts 
in 
| the .xml files in the config directory however.
| 
Not from just the one xml file.

The xml file can 'include' other xml files, but it can also have other xml
files IM found along a internal search PATH (directory list).

See IM Resources,  Configuration Files
  http://www.imagemagick.org/script/resources.php

Also the -font setting can not only be a short name for the font, but can
itself be a file name of the font file to directly use.

You may also like to look at and use the "imagick_type_gen" script
  http://www.imagemagick.org/Usage/scripts/imagick_type_gen
which can generate a new font XML file either over the whole machine
or just the fonts in a given sub-directory 

| Helvetica is not listed from the convert -list font command either.
| 
Helvetica is a postscript font, that is defined by the GhostScript package.

It is defined in an 'included' type xml file.



  Anthony Thyssen ( System Programmer )    <[email protected]>
 -----------------------------------------------------------------------------
    I have a Dragon here, and I am not afraid to use it!
                                    -- Donkey, "Shrek" movie
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to