Bug #13743 Updated: TTF Fonts
| From: | sander@php.net | Date: | Sun, 21 Oct 2001 17:32:45 +0000 |
| Subject: | Bug #13743 Updated: TTF Fonts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68640@lists.php.net to get a copy of this message | ||
ID: 13743
Updated by: sander
Reported By: go@maktoob.com
Old Status: Feedback
Status: Closed
Bug Type: GD related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.6
New Comment:
Then let's close this bug...
It's in the 4.1 todo anyway:
* Make all extensions thread-safe.
Previous Comments:
------------------------------------------------------------------------
[2001-10-21 09:31:06] derick@php.net
GD is not thread safe... so it may crash if PHP is used as ISAPI module.
Derick
------------------------------------------------------------------------
[2001-10-21 09:15:07] sander@php.net
I've heard something about GD being not thread safe (at least, not on Windows). Can someone
confirm this? If it's not thread safe, that might be the cause of this crash...
Once again, try the php_gd.dll from PHP-4.0.5, which contains a stable version of GD.
------------------------------------------------------------------------
[2001-10-21 01:35:00] go@maktoob.com
the script that I used is almost the same that comes with the PHP documentation ...
the error come when I use the ImageTTFText() function in intensive matter, in other words I called
this function about 5-10 times in almost one secound
example of calling
<img scr="writeText.php?Text=Anything;Fnt=Verdana.ttf;Dest=c:\a1.jpg">
<img scr="writeText.php?Text=Anything2;Fnt=Verdana.ttf;Dest=c:\a2.jpg">
and I wrote this code serveral time in the same page ...
is that should cause the problem ?
------------------------------------------------------------------------
[2001-10-20 13:04:46] sander@php.net
Can you provide a sample script?
It might be a problem with GD 2.0, which is still beta. You can try downloading PHP-4.0.5 from http://www.php.net/downloads.php and use php_gd.dll from
that distribution (it should work fine with 4.0.6).
------------------------------------------------------------------------
[2001-10-19 07:25:47] sander@php.net
Let's keep this one open...
------------------------------------------------------------------------
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/?id=13743
Edit this bug report at http://bugs.php.net/?id=13743&edit=1