GD: º becomes $
| From: | Julio Nobrega Trabalhando | Date: | Thu, 25 Apr 2002 21:03:49 +0000 |
| Subject: | GD: º becomes $ | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94659@lists.php.net to get a copy of this message | ||
When I create an image, º becomes $. Actually a small $. (pratically
half-sized). Maybe it's a "s" with a tail. I really have never seen this
character before :-)
An example:
$im = @ImageCreate (450, 500)
or exit ("Cannot Initialize new GD image stream");
$background_color = ImageColorAllocate ($im, 255, 255, 255);
$text_color = ImageColorAllocate ($im, 0, 0, 0);
$horizonte = 465;
$vertical = 25;
$pasta = 'Pasta Nº: ';
ImageStringUp ($im, 5, $vertical, $horizonte, $pasta, $text_color);
ImagePng ($im,'etiqueta.png');
Outputs:
Pasta N$:
Searched the manual/Google but haven't found any relevant information
about characters being replaced in GD...
Any help is welcome, thanks
--
Julio Nobrega.