Bug #12902 Updated: trouble with TTF fonts

From: Date: Fri, 24 Aug 2001 18:27:44 +0000
Subject: Bug #12902 Updated: trouble with TTF fonts
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64267@lists.php.net to get a copy of this message
ID: 12902 Updated by: sniper Reported By: dmpavlov@hotbox.ru Old Status: Open Status: Closed Bug Type: GD related Old Operating System: Win'Me Operating System: Win\'Me PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2001-08-24 13:14:47] dmpavlov@hotbox.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-22 12:57:24] sniper@php.net This is fixed already. And you should also use the whole paths to the fonts. --Jani ------------------------------------------------------------------------ [2001-08-22 11:33:46] dmpavlov@hotbox.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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12902&edit=1

« previous php.dev (#64267) next »