You are here: Freetype/Truetype rendering « All PHP « IT news, forums, messages
Freetype/Truetype rendering

Posted by p on 03/07/06 14:26

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация