#21731 [Opn]: imagettfbbox() and imagettftext() don't work

From: Date: Sun, 19 Jan 2003 02:52:27 +0000
Subject: #21731 [Opn]: imagettfbbox() and imagettftext() don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30537@lists.php.net to get a copy of this message
ID: 21731 User updated by: phpalv@reguly.net Reported By: phpalv@reguly.net Status: Open Bug Type: GD related Operating System: Linux PHP Version: 4.3.0 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2003-01-18 16:03:41] phpalv@reguly.net 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] iliaa@php.net Please supply working examples, the provided URLs cannot be accessed. ------------------------------------------------------------------------ [2003-01-18 13:04:16] phpalv@reguly.net 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

« previous php.bugs (#30537) next »