php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12902 trouble with TTF fonts
Submitted: 2001-08-22 11:33 UTC Modified: 2001-08-24 14:27 UTC
From: dmpavlov at hotbox dot ru Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: Win'Me
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: dmpavlov at hotbox dot ru
New email:
PHP Version: OS:

 

 [2001-08-22 11:33 UTC] dmpavlov at hotbox dot ru
I have troubles with loading any ttf fonts.
php reports general error with loading font & nothing more.

I use downloaded .exe version php 4.0.6
& gd lib 2.0.? (it was included in)


thank you & sorry for english ;)

 Dmitriy Pavlov

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-22 12:57 UTC] sniper@php.net
This is fixed already. And you should also use the
whole paths to the fonts. 

--Jani

 [2001-08-24 13:14 UTC] dmpavlov at hotbox dot ru
Yes. Problem doesn't appear in 4.0.4pl1 (I have tested same script, All is fine). Something is wrong with the last release (and may be the 4.0.5 - I don't know)

source string for better problem understanding...
ImageTTFText($im, 20, 90, 30, 200, $white, "d:/Times.ttf", $unistring);   
// "d:/Times.ttf" or "d:\\Times.ttf" ... doesn't matter, all results are equal ;(


 [2001-08-24 14:27 UTC] sniper@php.net
This is still fixed. I should have mentioned that it's 
fixed in CVS. Thus you need to wait for next release.
Or grab a development build from http://www.php4win.com/

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC