Page 1 of 1

Text with font in special folder

Posted: 2007-08-02T10:35:24-07:00
by hknight
Hello,

I have a collection of truetype fonts in a special directory. One of the fonts is special.ttf:

/home/me/fonts/special.ttf

I want to create an image with the text: Hello World

How can I use my special font without installing it in the ImageMagic font directory?

Thanks!

Re: Text with font in special folder

Posted: 2007-08-02T13:36:41-07:00
by Bonzo

Code: Select all

-font /home/me/fonts/special.ttf
Although I would use the relative path from the script.

Re: Text with font in special folder

Posted: 2007-08-09T23:27:12-07:00
by anthony
Or create your own "type.xml" file in ".magick" sub-directory of your home (assuming you are on a unix-like machine, like linux, Solaris, or MacOSX).

See the top level page of IM examples
http://www.imagemagick.org/Usage/#font