Bug #15568: ImageTTFText doesn't work in 4.1.1

From: Date: Fri, 15 Feb 2002 14:21:15 +0000
Subject: Bug #15568: ImageTTFText doesn't work in 4.1.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-354@lists.php.net to get a copy of this message
From: reweiner@yahoo.com Operating system: Linux PHP version: 4.1.1 PHP Bug Type: GD related Bug description: ImageTTFText doesn't work in 4.1.1 The following code works in 4.0.6 but doesn't in 4.1.1 Both are compiled with the same flags: --with-freetype --with-gd --with-ttf For 4.1.1 I added: --enable-gd-native-ttf --with-freetype-dir=/usr ( you need a font to test this. In this case - shelley.ttf ) <?php Header ("Content-type: image/png"); $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "shelley.ttf", "Testing... Omega: &#937;"); ImagePNG($im); ImageDestroy ($im); ?> -- Edit bug report at http://bugs.php.net/?id=15568&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15568&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15568&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15568&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15568&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15568&r=support Expected behavior: http://bugs.php.net/fix.php?id=15568&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15568&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15568&r=submittedtwice

« previous php.bugs (#354) next »