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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Dec 27 07:01:28 2024 UTC