|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-03-10 07:56 UTC] tonalgeek at hotmail dot com
When SWFFont() is called with a fdb file (not with internal fonts like '_sans') PHP appears to do nothing until the time limit for scripts is reached.
Here is a reproductible example:
<?php
x=new SWFMovie();
y=new SWFFont("_sans"); // <---- does not freeze here
z=new SWFFont("foo.fdb");
// <--- PHP does not execute at and below this point
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
I've experienced this bug as well. I'm running Windows 2000 Server, IIS, and PHP 4.1.2. The system has all of the "critical" Microsoft patches applied except for W2K SP3. It seems that if I do a SWFFont("somefile.fdb") IIS will report a CGI error after running for perhaps 5 seconds. There are some Dr. Watson entries in my event log which talk about an access violation. The dates and times of these entries roughly correspond to when I was testing the ming font functions, but when I run the scripts now, I just get the CGI errors without the Dr. Watson entries. I thought I could get around this bug by using SWFFont("_sans"), but that does not work either. I can create a new font object just fine, but when I try to add() the font object to the movie object, Internet Explorer dies, and asks if I want to send a bug report ot Microsoft.My system: Win-98, Apache 1.3.26, PHP 4.2.1 -- trying to set SWFFont(), e.g. $f=new SWFFont("ParkAvenue_BT.fdb"); usually crashes Apache, sometimes the browser (IE 5.5) too. However the system fonts ("_sans", "_serif", "_typewriter") are now working although they weren't at first. Weirdness!Hi all, same problem for me: Iexplorer systematically crashes using a file: SWFFont("verdana.fdb"); Iexplorer crashes sometimes using an internal font: SWFFont("-sans"); Could you please help.