#30652 [NEW]: imagettftext different output hosts
| From: | info at paulinternet dot nl | Date: | Mon, 01 Nov 2004 15:00:02 +0000 |
| Subject: | #30652 [NEW]: imagettftext different output hosts | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-68589@lists.php.net to get a copy of this message | ||
From: info at paulinternet dot nl
Operating system: Windows XP & FreeBSD
PHP version: 4.3.9
PHP Bug Type: GD related
Bug description: imagettftext different output hosts
Description:
------------
I can run this script on the localhost and on the server of my hosting
provider.
The image on the localhost is a bit difference from the image on the
server.
Is this a bug? If not, how can I get on my computer the same output as on
the server?
My phpinfo: http://www.paulinternet.nl/php.net/Localhost.htm
Server phpinfo: http://www.paulinternet.nl/php.net/Server.htm
My output: http://www.paulinternet.nl/php.net/Localhost.png
Server output: http://www.paulinternet.nl/php.net/Server.png
Verdana font: http://www.paulinternet.nl/php.net/Verdana.ttf
Reproduce code:
---------------
header("Content-type: image/png");
$Image = imagecreate(200, 24);
imagecolorallocate($Image, 0, 0, 0);
$Kleur = imagecolorallocate($Image, 255, 255, 255);
imagettftext($Image, 16, 0, 2, 18, $Kleur, "Pagina's/Tekst/Verdana.ttf",
"I have a problem");
imagepng($Image);
imagedestroy($Image);
--
Edit bug report at http://bugs.php.net/?id=30652&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30652&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30652&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30652&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30652&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30652&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30652&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30652&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30652&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30652&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30652&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30652&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30652&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30652&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30652&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30652&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30652&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30652&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30652&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30652&r=mysqlcfg