php5-gd: imagettftext -- can't find fonts

M. Brooks Clark brooks at clarksonline.net
Mon Oct 26 20:52:38 PDT 2009


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?

Brooks

http://www.clarkwx.net
________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091026/fb4696a6/attachment.html>


More information about the macports-users mailing list