Font List

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
riegel
Posts: 26
Joined: 2003-08-19T12:36:46-07:00
Location: Rocky Mount, NC 27804
Contact:

Font List

Post by riegel » 2006-04-12T15:24:43-07:00

Is there a command to list the available fonts to the underlying ImageMagick System.

riegel
Posts: 26
Joined: 2003-08-19T12:36:46-07:00
Location: Rocky Mount, NC 27804
Contact:

Post by riegel » 2006-04-12T15:36:40-07:00

I found the answer which has created a new question. I would like to add fonts to the System, but to do so I would need to identify the details of the font. I tried identify to determine the characteristics, but this is what I got. Does ImageMagick identify font files?

Code: Select all

-bash-2.05b# identify /usr/local/share/ghostscript/fonts/a010013l.afm
Segmentation fault (core dumped)
-bash-2.05b# identify /usr/local/share/ghostscript/fonts/a010013l.pfb
/usr/local/share/ghostscript/fonts/a010013l.pfb PFB 800x480 DirectClass 34kb 0.156u 0:01
-bash-2.05b# 

User avatar
magick
Site Admin
Posts: 11100
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-04-12T16:54:57-07:00

ImageMagick 6.2.7-0 Beta uses fontconfig under Linux to list all the fonts on your system. You can also use Anthony's script, http://www.cit.gu.edu.au/~anthony/graph ... k_type_gen to generate a type.xml font listing file.

Post Reply