php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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: 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?

Patches

Pull Requests

History

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

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC