Hi,
when I try to disable antialiasing by using a negative value, I get a very ugly pixelized result (tried with Arial, Verdana and a small font).
Do you know a better way of disabling anti aliasing?
I tried following code:
<?php
Header ("Content-type: image/jpeg");
$im = imagecreate (400, 30);
$white = ImageColorAllocate ($im, 255, 255, 255);
$black = ImageColorAllocate ($im, 0, 0, 0);
ImageTTFText ($im, 20, 0, 10, 20, -$black, "/usr/local/apache/htdocs/fonts/arial.ttf",
"Teste... Omega: Ω");
ImageJpeg ($im);
ImageDestroy ($im);
?>
Thanks in advance