absolute path for fonts
Posted: 2008-05-14T15:48:30-07:00
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.
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.