James Garfield on  wrote...
| I'm using convert to generate Web images on the fly, and one thing I 
| still don't have a handle on is the use of specific fonts in drawing 
| text.  The big problem is that since I'm not a Linux admin, I have no 
| idea how to determine which fonts are available to ImageMagick on the 
| server. 

For the ones IM knows about  type
   convert -list type

Or to see what fonts are present on your system that IM may not know
about type..
   locate -r '\.ttf$'

You can also download ones you like from the many free font web sites
around.

You can specify TTF fonts directly..  For example...
  convert -font /usr/games/vultureseye/fonts/VeraSe.ttf \
          -pointsize 72 label:'ABCxyz123'  font_example.gif

Or add them into a file ".magick/type.xml"  in your home
using a special script "imagick_type_gen" available in IM Examples
See  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/#font

That way I can use my 'Candice' font, simply using
  convert -font Candice -pointsize 72 label:'ABCxyz123' font_example.gif


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    If your going to have delusions, you might as well go for the
    really satisfying ones.                   -- Marcus, Babylon 5
 -----------------------------------------------------------------------------
     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