php5-gd: imagettftext -- can't find fonts
Scott Haneda
talklists at newgeo.com
Mon Oct 26 23:28:26 PDT 2009
Have you checked the permissions on the files to be sure the www
server can read them? Set them to use and group of the www server,
and for now, chmod 777 as a test. If that works, restrict them back
down to your liking for your setup.
--
Scott * If you contact me off list replace talklists@ with scott@ *
On Oct 26, 2009, at 8:52 PM, M. Brooks Clark wrote:
> I have installed php5 and php5-gd, and I'm now getting an error when
> I try to use the imagettftext() function:
>
> Warning: imagettfbbox(): Could not find/open font in /Users/mbclark/
> Sites/wview/banner.php on line 32
>
> Warning: imagettftext(): Could not find/open font in /Users/mbclark/
> Sites/wview/banner.php on line 35
>
> I've set the fontfile location to '/Library/Fonts/Arial' and '/
> Library/Fonts/Arial.ttf', but neither of these variations seems to
> work. Is there another trick to specifying the fontfile?
>
More information about the macports-users
mailing list