#41336 [NEW]: Warning: imagettftext() : Could not find/open font
| From: | jblaguarigue at worldonline dot fr | Date: | Wed, 09 May 2007 06:41:05 +0000 |
| Subject: | #41336 [NEW]: Warning: imagettftext() : Could not find/open font | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-112430@lists.php.net to get a copy of this message | ||
From: jblaguarigue at worldonline dot fr
Operating system: Win XP
PHP version: 5.2.2
PHP Bug Type: GD related
Bug description: Warning: imagettftext() : Could not find/open font
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 bug report at http://bugs.php.net/?id=41336&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41336&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41336&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41336&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41336&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41336&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41336&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41336&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41336&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41336&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41336&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41336&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41336&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41336&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41336&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41336&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41336&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41336&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41336&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41336&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41336&r=mysqlcfg