#41336 [Csd->Bgs]: Warning: imagettftext() : Could not find/open font

From: Date: Wed, 09 May 2007 09:11:51 +0000
Subject: #41336 [Csd->Bgs]: Warning: imagettftext() : Could not find/open font
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112436@lists.php.net to get a copy of this message
ID: 41336 Updated by: pajoye@php.net Reported By: jblaguarigue at worldonline dot fr -Status: Closed +Status: Bogus Bug Type: GD related Operating System: Win XP PHP Version: 5.2.2 Assigned To: pajoye New Comment: not a bug > bogus. Previous Comments: ------------------------------------------------------------------------ [2007-05-09 09:09:31] jblaguarigue at worldonline dot fr OK, it works. ------------------------------------------------------------------------ [2007-05-09 07:08:17] pajoye@php.net "Warning: imagettftext() [function.imagettftext]: Could not find/open font in C:\Developpements\Duplibridge\CS_Graph.inc on line 126" It did not find the font file. What's in your GDFONTPATH environment variable (if it exists)? If it does not exist, you have to specify the complete path to the font file. ------------------------------------------------------------------------ [2007-05-09 06:41:05] jblaguarigue at worldonline dot fr Description: ------------ When changing from 5.2.1 to 5.2.2 the program send back a warning with imagettftext function : Could not find/open font. Therefore, the text on my GIF isn't printed. It worked correctly in 5.2.1. Reproduce code: --------------- imagettftext($im,10,0,$this->trfX($maxX)+10,$label['Y'],$color,'Arial',$label['label']); Expected result: ---------------- No warning and text printed Actual result: -------------- Warning: imagettftext() [function.imagettftext]: Could not find/open font in C:\Developpements\Duplibridge\CS_Graph.inc on line 126 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41336&edit=1

« previous php.bugs (#112436) next »