This is a discussion on Truetype/Freetype rendering within the PHP Language forums, part of the PHP Programming Forums category; Hi, I've been writing text onto images using imagettftext, having first loaded an Arial TTF. The result can be ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I've been writing text onto images using imagettftext, having first loaded an Arial TTF. The result can be seen at http://linuxbox.co.uk/57_off.png After moving the code to another server, the text started coming out differently: http://linuxbox.co.uk/65_off.png Examing phpinfo() for each server, it seems the original server had: FreeType Linkage with TTF library ,while the on the second server: FreeType Linkage with freetype I've tried using imagefttext rather than imagettftext, but the text is no better. I'm not in a position to recompile PHP on the second machine. Is there anything else I can do to improve the text quality? It looks as if the text in the second URL is still being rendered in Arial, only more poorly. Thanks, Pete |