Can't find my font file - Please help
| From: | JR | Date: | Sat, 10 Aug 2002 01:48:41 +0000 |
| Subject: | Can't find my font file - Please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111921@lists.php.net to get a copy of this message | ||
I am trying to use the "imagettfbbox" function. Am testing the script on my
local network
running W2K. Have defined :
$fontfile = "arial.tff"; // this file is in the same directory
with my script
The instruction that fails:
$thetextbox = ImageTTFBBox ($fontsize, 0, $fontfile, "My Button");
The error message is:
Warning: Could not find/open font in
c:\phpdev\www\public\kazaam\rendertext.php on line 9