ID: 21731 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I've tried both relative and full paths for the font files and it had worked each time. Try using the latest CVS snapshot, it may solve the problem Previous Comments: ------------------------------------------------------------------------ [2003-01-18 20:52:26] [EMAIL PROTECTED] Well I have had the time to google a lot, and found out that using realpath($fonte) the script work. See http://bugs.php.net/bug.php?id=6960 ------------------------------------------------------------------------ [2003-01-18 16:03:41] [EMAIL PROTECTED] damn, I don't know why .phps does not work either.. anyway that doesn't bother me you can see the source here http://www.ditech.com.br/~alvaro/im.txt the other links work fine ------------------------------------------------------------------------ [2003-01-18 13:15:03] [EMAIL PROTECTED] Please supply working examples, the provided URLs cannot be accessed. ------------------------------------------------------------------------ [2003-01-18 13:04:16] [EMAIL PROTECTED] This is what I get when trying to write a text over a PNG (tried JPEG too) image. Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/alvaro/html/im.php on line 6 Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/alvaro/html/im.php on line 14 file perms are ok. PHP 4.3 compiled with bundled GD+external jpeg libs with gcc-3.2 on Debian. URL is http://www.ditech.com.br/~alvaro/im.php source is http://www.ditech.com.br/~alvaro/im.phps PHPinfo: http://www.ditech.com.br/~alvaro/php.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21731&edit=1
