Page 1 of 1

absolute path for fonts

Posted: 2008-05-14T15:48:30-07:00
by web_artist
Hello,

I have 2 different servers, and on one of them, setting an absolute font like this: $draw->setFont('/home/var/www/public_html/fonts/font_name.ttf'); works, but on the other one it's not working. I don't get an error message, but instead a default font is set.

Any idea what I can do ? .. I think I should compile the image magick again on the server where the code doesn't work, but I'm not sure what parameters to add when redoing this.

Thank you.

Re: absolute path for fonts

Posted: 2008-06-12T17:23:26-07:00
by anthony
Are you sure the font is present at that location, AND IS READABLE!