Hi,
I'm experiencing very bad character spacing / anti-aliasing with a PHP
installation. I compared it to another installation where it works.
I'm using the following test code:
$ih = imagecreatetruecolor(200,100);
$ch_white = ImageColorAllocate($ih, 255,255,255);
imagettftext($ih,8,0,10,21,$ch_white,'arialbd.ttf' ,'REFERENZENXXX');
header('Content-Type: image/gif');
imagegif($ih);
The bad one with its phpinfo()-Output (in the real application it
looks really bad):
http://kundenweb.creations.de/usenet/ttftext/bad.gif
GD Support: enabled
GD Version: 2.0 or higher
FreeType Support: enabled
FreeType Linkage: with freetype
FreeType Version: 2.2.1
T1Lib Support: enabled
GIF Read Support: enabled
GIF Create Support: enabled
JPG Support: enabled
PNG Support: enabled
WBMP Support: enabled
And the good one:
http://kundenweb.creations.de/usenet/ttftext/good.gif
GD Support: enabled
GD Version: bundled (2.0.34 compatible)
FreeType Support: enabled
FreeType Linkage: with freetype
FreeType Version: 2.1.9
T1Lib Support: enabled
GIF Read Support: enabled
GIF Create Support: enabled
JPG Support: enabled
PNG Support: enabled
WBMP Support: enabled
XBM Support: enabled
Which version causes this difference? When was the change?
Regards,
André