#22092 [Com]: Strange warning and no functionality in imagettfbbox and imagettftext
ID: 22092 Comment by: ditemoi at hotmail dot fr Reported By: davidl at tocquigny dot com Status: No Feedback Bug Type: GD related Operating System: Redhat 7.1 PHP Version: 4.3.2 New Comment: try this : imagettfbbox(20, 0, ../fonts/arial.ttf,Testing... ); I don't know why ? but it's works for me. Hope your help.. sorry for my broken english !! Previous Comments: [2009-08-04 03:28:22] bugs-php at markrobertwilkins dot com similar problem with PHP v5.2.8 on linux 2.6.13.4 php spins when it can't find the font file, using all available cores and ultimately filling the error log filesystem. file is not found on font path (i.e. --with-freetype-dir ) nor in current working dir except when specifying ./path or absolute path. [2007-07-17 12:17:22] xeon at adamant dot net I also have this bug with PHP-4.4.7 and 5.2.3 :( [2003-06-15 23:46:30] sni...@php.net 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. [2003-06-10 19:22:03] il...@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 [2003-05-29 10:47:42] davidl at tocquigny dot com The problem with spaces in the font name continues in 4.3.2. A font arial.ttf works but futura bold.ttf generates the error: Warning: imagettfbbox(): Could not find/open font in /xxx/xxx/xxx/custom_class.php on line 535 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22092 -- Edit this bug report at http://bugs.php.net/?id=22092edit=1
#22092 [Com]: Strange warning and no functionality in imagettfbbox and imagettftext
ID: 22092 Comment by: bugs-php at markrobertwilkins dot com Reported By: davidl at tocquigny dot com Status: No Feedback Bug Type: GD related Operating System: Redhat 7.1 PHP Version: 4.3.2 New Comment: similar problem with PHP v5.2.8 on linux 2.6.13.4 php spins when it can't find the font file, using all available cores and ultimately filling the error log filesystem. file is not found on font path (i.e. --with-freetype-dir ) nor in current working dir except when specifying ./path or absolute path. Previous Comments: [2007-07-17 12:17:22] xeon at adamant dot net I also have this bug with PHP-4.4.7 and 5.2.3 :( [2003-06-15 23:46:30] sni...@php.net 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. [2003-06-10 19:22:03] il...@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 [2003-05-29 10:47:42] davidl at tocquigny dot com The problem with spaces in the font name continues in 4.3.2. A font arial.ttf works but futura bold.ttf generates the error: Warning: imagettfbbox(): Could not find/open font in /xxx/xxx/xxx/custom_class.php on line 535 [2003-05-27 17:30:59] paul at thewall dot de I can confirm this bug, it still persist. A Full path did not help, as well as renaming the font file and cutting off the extension (which is reported to work). I have tried GD extension versions 1 and 2, same result. PHP Version is 4.2.3. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22092 -- Edit this bug report at http://bugs.php.net/?id=22092edit=1
#22092 [Com]: Strange warning and no functionality in imagettfbbox and imagettftext
ID: 22092 Comment by: xeon at adamant dot net Reported By: davidl at tocquigny dot com Status: No Feedback Bug Type: GD related Operating System: Redhat 7.1 PHP Version: 4.3.2 New Comment: I also have this bug with PHP-4.4.7 and 5.2.3 :( Previous Comments: [2003-06-15 23:46:30] [EMAIL PROTECTED] 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. [2003-06-10 19:22:03] [EMAIL PROTECTED] 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 [2003-05-29 10:47:42] davidl at tocquigny dot com The problem with spaces in the font name continues in 4.3.2. A font arial.ttf works but futura bold.ttf generates the error: Warning: imagettfbbox(): Could not find/open font in /xxx/xxx/xxx/custom_class.php on line 535 [2003-05-27 17:30:59] paul at thewall dot de I can confirm this bug, it still persist. A Full path did not help, as well as renaming the font file and cutting off the extension (which is reported to work). I have tried GD extension versions 1 and 2, same result. PHP Version is 4.2.3. [2003-04-10 08:51:29] kadlcakd at yahoo dot com I have the same problem with 4.3.1 I have GD 2.0.4 compiled with TTF support, php 4.3.1 compiled --with-gd --with-ttf --with-freetype-dir ImageTTFBBox( 18, 0, fonts/times.ttf, Hello ); Gives an error: Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /usr2/accnts/theuser/www/tests/button.php Dave. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22092 -- Edit this bug report at http://bugs.php.net/?id=22092edit=1
#22092 [Com]: Strange warning and no functionality in imagettfbbox and imagettftext
ID: 22092 Comment by: paul at thewall dot de Reported By: davidl at tocquigny dot com Status: No Feedback Bug Type: GD related Operating System: Redhat 7.1 PHP Version: 4.3.0 New Comment: I can confirm this bug, it still persist. A Full path did not help, as well as renaming the font file and cutting off the extension (which is reported to work). I have tried GD extension versions 1 and 2, same result. PHP Version is 4.2.3. Previous Comments: [2003-04-10 08:51:29] kadlcakd at yahoo dot com I have the same problem with 4.3.1 I have GD 2.0.4 compiled with TTF support, php 4.3.1 compiled --with-gd --with-ttf --with-freetype-dir ImageTTFBBox( 18, 0, fonts/times.ttf, Hello ); Gives an error: Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /usr2/accnts/theuser/www/tests/button.php Dave. [2003-03-13 14:00:41] FR at ncis dot ca We also have this bug with 4.3.1 [2003-02-20 08:08:16] [EMAIL PROTECTED] 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. [2003-02-08 13:13:08] [EMAIL PROTECTED] 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 Also, try specifying the full path to the font, by doing realpath() on the font path before passing it to imagettfbox(). [2003-02-06 15:15:28] davidl at tocquigny dot com Also, it won't accept spaces in the font file name, if I have no spaces (ie arial.ttf) it works, with spaces (ie futura bold.ttf) generates: Could not find/open font in /xxx/xxx/xxx/test2.php on line 3 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22092 -- Edit this bug report at http://bugs.php.net/?id=22092edit=1
#22092 [Com]: Strange warning and no functionality in imagettfbbox and imagettftext
ID: 22092 Comment by: FR at ncis dot ca Reported By: davidl at tocquigny dot com Status: No Feedback Bug Type: GD related Operating System: Redhat 7.1 PHP Version: 4.3.0 New Comment: We also have this bug with 4.3.1 Previous Comments: [2003-02-20 08:08:16] [EMAIL PROTECTED] 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. [2003-02-08 13:13:08] [EMAIL PROTECTED] 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 Also, try specifying the full path to the font, by doing realpath() on the font path before passing it to imagettfbox(). [2003-02-06 15:15:28] davidl at tocquigny dot com Also, it won't accept spaces in the font file name, if I have no spaces (ie arial.ttf) it works, with spaces (ie futura bold.ttf) generates: Could not find/open font in /xxx/xxx/xxx/test2.php on line 3 [2003-02-06 15:01:53] davidl at tocquigny dot com okies, that fixed one problem and created another (although MUCH LESS MAJOR) the results now: 1 Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /xxx/xxx/xxx/xxx/test2.php on line 3 if I put an absolute path into the font location, it works, but relative paths do not. [2003-02-06 13:33:10] [EMAIL PROTECTED] Try adding the --with-freetype-dir option to your configure. As is I cannot replicate the bug using the latest CVS (4.3.1-dev). The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22092 -- Edit this bug report at http://bugs.php.net/?id=22092edit=1