Re: Tm and Gd Library

From: Date: Sun, 13 Jun 2004 10:15:57 +0000
Subject: Re: Tm and Gd Library
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23975@lists.php.net to get a copy of this message
Nope, a small example: <? header ("Content-type: image/png"); $img = ImageCreate(500,500); $back = ImageColorAllocate($img, 0,0,0); $w = ImageColorAllocate($img, 255, 255, 255); $string = "&#153;™™½¾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@strategicinc.com> wrote:
Alekc Maybe this will help if you outputting plain text:
chr(153) will output =    ' T '
-- Gerardo S. Rojas mailto: grojas@strategicinc.com -----Original Message----- From: Alekc [mailto:al3kc@yahoo.it] Sent: Friday, June 11, 2004 10:53 AM To: php-windows@lists.php.net Subject: [PHP-WIN] 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/

« previous php.windows (#23975) next »