From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: GD related
Bug description: TTF functions not working on Windows 2000
I've placed my script on my server here:
http://www.serversolved.com/gif.php.txt
I'm using the binary zip package (4.0.6) from us4.php.net
I've tried several options to try and get fonts to load via ImageTTF*
functions, but to no avail. I tried "C:\winnt\fonts\...",
"C:\\winnt\\fonts\\...", "C:/winnt/fonts/..."; I even tried copying the
'fonts' dir under my DocumentRoot, and tried "fonts/...", "/fonts/...",
"./fonts/..." and even "http://localhost/fonts/...". None of these options
worked.
In the final version of my script, I even used 'file_exists' to test the
font file (which exists), and it still is unable to load. Is it possible
that the gd library was compiled wrong on the windows binary?
--
Edit bug report at: http://bugs.php.net/?id=12927&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]