#21731 [Fbk->NoF]: imagettfbbox() and imagettftext() don't work

From: Date: Tue, 04 Feb 2003 22:50:12 +0000
Subject: #21731 [Fbk->NoF]: imagettfbbox() and imagettftext() don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32135@lists.php.net to get a copy of this message
ID: 21731 Updated by: sniper@php.net Reported By: phpalv@reguly.net -Status: Feedback +Status: No Feedback Bug Type: GD related Operating System: Linux PHP Version: 4.3.0 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-01-19 17:57:33] iliaa@php.net 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 ------------------------------------------------------------------------ [2003-01-18 20:52:26] phpalv@reguly.net 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] 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 (#32135) next »