how to install font for ImageMagick..

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
sriducati
Posts: 28
Joined: 2011-11-28T08:11:59-07:00
Authentication code: 8675308

how to install font for ImageMagick..

Post by sriducati »

Hello Webmasters
Iam totally confused
I have installed image magick on centos 5.4 i want to know how do we find the fonts location for imagemagick ... and how do we install new fonts to imagemagick... ????expecting your response asap..

Thank you
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: how to install font for ImageMagick..

Post by fmw42 »

Any ttf font on your system will work. You only need to supply the full path to your font. I believe you should have freetype installed

If you want IM to recognize your font, then edit the type.xml file or use Anthony's script imagick_type_gen at http://www.imagemagick.org/Usage/scripts/
Post Reply