PHP 4.0 Bug #3818: ImageTTFText renders ttf fonts mirrored
| From: | pbzinc at redrose dot net | Date: | Mon, 13 Mar 2000 17:41:02 +0000 |
| Subject: | PHP 4.0 Bug #3818: ImageTTFText renders ttf fonts mirrored | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16752@lists.php.net to get a copy of this message | ||
From: pbzinc@redrose.net
Operating system: rh linux 6.1
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Misbehaving function
Bug description: ImageTTFText renders ttf fonts mirrored
compiled with freetype 1.3 and gd 1.8
freetype and gd ttf test programs perform correctly
<?php
Header( "Content-type: image/png");
$im = imagecreate(98,85);
$blue = ImageColorAllocate($im, 0x2c,0x6D,0xAF);
$black = ImageColorAllocate($im, 0,0,0);
ImageTTFText($im, 20, 0, 10, 20, $black, "advGraph/fonts/arial.ttf",
"AB");
ImagePng($im);
ImageDestroy($im);
?>