Bug #11704 Updated: TTF font rendering works under 4.0.5 and doesn't work on 4.0.6

From: Date: Wed, 27 Jun 2001 13:36:28 +0000
Subject: Bug #11704 Updated: TTF font rendering works under 4.0.5 and doesn't work on 4.0.6
Groups: php.dev 
Request: Send a blank email to php-dev+get-58203@lists.php.net to get a copy of this message
ID: 11704 Updated by: sniper Reported By: doba@i.am Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.6 Assigned To: Comments: Submitting report with bogus email address is not allowed. Thus bogusing this. Previous Comments: --------------------------------------------------------------------------- [2001-06-26 13:48:31] doba@i.am While using PHP 4.0.5 Win32 binary distribution, it works fine. With PHP 4.0.6 script fails with error like this "can't find arial.ttf in script d:dobawwwtest.php line X". Here is a short test script: <? $im = @ImageCreate(160, 45) or die ("Cannot Initialize new GD image stream"); $background_color = ImageColorAllocate ($im, 255, 255, 255); $text_color = ImageColorAllocate ($im, 21, 106, 160); // arial.ttf should be placed in the same // directory with this script ImageTTFText($im, 27, 0, 46, 36, $text_color, "arial.ttf", "TEST"); ImagePng($im); ImageDestroy($im); ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11704&edit=2

« previous php.dev (#58203) next »