<? header ("Content-type: image/png"); $img = ImageCreate(500,500);
$back = ImageColorAllocate($img, 0,0,0); $w = ImageColorAllocate($img, 255, 255, 255); $string = "™ââÂÂdâââÃÃ"; //$string = "Testing... ?â?";
imagettftext($img, 25, 0, 20, 40, $w, "arial.TTF", $string); ImagePNG($img); ImageDestroy($img);
?>
On Fri, 11 Jun 2004 10:57:49 -0500, Gerardo Rojas <grojas@xxxxxxxxxxxxxxxx> wrote:
Alekc
Maybe this will help if you outputting plain text:
chr(153) will output = ' T '
-- Gerardo S. Rojas mailto: grojas@xxxxxxxxxxxxxxxx
-----Original Message----- From: Alekc [mailto:al3kc@xxxxxxxx] Sent: Friday, June 11, 2004 10:53 AM To: php-windows@xxxxxxxxxxxxx Subject: Tm and Gd Library
Is it possible print on the image an symbol tm???
by using imagettftext, it's print special chars like copyright, etc, but it doesn't work with tm...
I have tryed to use fonts like verdana, arial, etc but nothing
Some suggetsion?
-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php