Try leaving off the .ttf On Fri, 9 Aug 2002, JR wrote:
> 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php