With ImageMagick, how can you see all available fonts?

flybywire picture flybywire · Sep 8, 2009 · Viewed 32.5k times · Source

ImageMagick can draw text into a picture in a given font, how can I see all available fonts for my system?

Answer

Niko picture Niko · Sep 8, 2009

depending on your imagemagick version:

convert -list type       # for IM older than v6.3.5-7
convert -list font       # for newer versions

also the output format changed...

-- update For OsX (Answer from Charles Merriam) if the command above does not produce any results:

For a full tutorial with description see http://gothick.org.uk/2008/03/14/using-os-x-fonts-in-imagemagick/ for the rest &tldr:

# use fondu to convert fonts and update locatedb
sudo port install fondu 
cd /usr/local/share/fonts/
fondu /Library/Fonts/*.dfont
/etc/periodic/weekly/310.locate

# generate imagemagick type.xml 
cd ~
mkdir ~/.magick
wget http://www.imagemagick.org/Usage/scripts/imagick_type_gen
perl imagick_type_gen > ~/.magick/type.xml