Bug #13743 Updated: TTF Fonts
| From: | sander@php.net | Date: | Sun, 21 Oct 2001 13:15:08 +0000 |
| Subject: | Bug #13743 Updated: TTF Fonts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68610@lists.php.net to get a copy of this message | ||
ID: 13743
Updated by: sander
Reported By: go@maktoob.com
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
[2001-10-19 07:15:41] mfischer@php.net
Submitted twice, #13743 has slightly more info.
Bogusifying.
- Markus
------------------------------------------------------------------------
[2001-10-19 07:10:13] go@maktoob.com
When I used the Image Creation function in the GD Library that have any relation to the TTF fonts
the server generate this Error related to PHP.exe
'The instruction at "0x1009fff3" referenced memory at "0x00a50d00". The
memory could not be "read".'
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13743&edit=1