ID: 41336 Updated by: [EMAIL PROTECTED] Reported By: jblaguarigue at worldonline dot fr -Status: Open +Status: Feedback Bug Type: GD related Operating System: Win XP PHP Version: 5.2.2 -Assigned To: +Assigned To: pajoye New Comment:
"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. Previous Comments: ------------------------------------------------------------------------ [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
