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.
absolute path for fonts
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: absolute path for fonts
Are you sure the font is present at that location, AND IS READABLE!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/