|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12927 TTF functions not working on Windows 2000
Submitted: 2001-08-23 11:55 UTC Modified: 2001-08-23 12:24 UTC
From: pete dot nelson at serversolved dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 46 = ?
Subscribe to this entry?

 [2001-08-23 11:55 UTC] pete dot nelson at serversolved dot com
I've placed my script on my server here: 

I'm using the binary zip package (4.0.6) from

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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-23 12:24 UTC]
This is fixed in CVS. You can download a dev build
from if you want it now, or
wait for next release of PHP. 


PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Nov 26 19:05:53 2022 UTC