Re: [PHP] Can't find my font file - Please help

2002-08-10 Thread Rasmus Lerdorf
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 t

Re: [PHP] Can't find my font file - Please help

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 09:48, 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 Shouldn't that be "arial.ttf" ? -- Jason Wong -> Gremlin

[PHP] Can't find my font file - Please help

2002-08-09 Thread JR
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, "