#35221 [Fbk->Opn]: Warning: imagepstext(): libt1 returned error 11 & 14
| From: | lcalvert at mn dot rr dot com | Date: | Thu, 17 Nov 2005 03:12:15 +0000 |
| Subject: | #35221 [Fbk->Opn]: Warning: imagepstext(): libt1 returned error 11 & 14 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88330@lists.php.net to get a copy of this message | ||
ID: 35221
User updated by: lcalvert at mn dot rr dot com
Reported By: lcalvert at mn dot rr dot com
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: FreeBSD 4.5
PHP Version: 4.4.1
New Comment:
Upgraded to PHP Version 5.1.0RC5-dev
Warning: imagepstext() [function.imagepstext]: T1Lib Error: Font ID
Invalid in this Context in /usr/home/GuestBook/randomImage.php on line
35
Line 35
imagepstext($im, $rand, $font, 32, $text_color, $black, 12, 28);
Same problem after refreshing the script for about 20mins the above
error message would come up quite frequently.
Previous Comments:
------------------------------------------------------------------------
[2005-11-16 09:08:13] sniper@php.net
I did not ask you to install it permanently, just check if this happens
in the 5.1-dev. If it does happen in it, it's more likely to get fixed.
And if it does NOT, then it's just a matter of backporting the fix to
PHP 4.
------------------------------------------------------------------------
[2005-11-16 08:25:36] lcalvert at mn dot rr dot com
Currently i am running a few programs that are not currently compatible
with PHP 5. I have spent the last 6 hours attempting to get them to work
however i cannot. So upgrading to PHP 5 is currently not an option for
me to get this resolved. Hopefully there will be a fix for this in the
PHP 4 series.
------------------------------------------------------------------------
[2005-11-15 09:36:08] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-11-15 06:33:52] lcalvert at mn dot rr dot com
Memory usage on system after restarting apache goes down to 50% usage
after refreshing 100 times memory usage goes to 83% and errors start
happening.
------------------------------------------------------------------------
[2005-11-15 06:23:09] lcalvert at mn dot rr dot com
Description:
------------
After a day or so (100plus refreshes) of running this code the
following two errors come up quite often
Warning: imagepstext(): libt1 returned error 11
Warning: imagepstext(): libt1 returned error 14
Reproduce code:
---------------
http://pastebin.com/429956
Actual result:
--------------
After a day or so (100plus refreshes) of running this code the
following two errors come up quite often
Warning: imagepstext(): libt1 returned error 11
Warning: imagepstext(): libt1 returned error 14
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35221&edit=1