ImageMagick can draw text into a picture in a given font, how can I see all available fonts for my system?
ImageMagick, invoked from the command line as magick , is a free and open-source cross-platform software suite for displaying, creating, converting, modifying, and editing raster images. Created in 1987 by John Cristy, it can read and write over 200 image file formats.
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
To list only the font names, do convert -list font | grep Font
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With