|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: pete dot nelson at serversolved dot com
New email:
PHP Version: OS:


 [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 Dec 03 06:05:53 2022 UTC