You are here: server can't find fonts « PHP Programming Language « IT news, forums, messages
server can't find fonts

Posted by jimbo on 10/12/07 07:57

I am using imagettftext and imagefttext on my machine locally and
having no problems. BUT my server can't find the fonts. I am feeding
both functions the bare fontfile name with no extensions. My
understanding of the docs ;>) is that php will handle this
transparently from v5.?
I'm not sure in the case of ttf but the documentation is very explicit
with freetype. The interpreter or whatever will add the extension and
search on a predefined path. In any case both funtions work locally
and neither work on my site.

My configuration.
WinXP
Xerver 4.20
PHP 5.0.4
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9

Server configuration
Linux
PHP 4.4.7
Apache version 1.3.37 (Unix)
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype

Does PHP 4.4.7 support freetype properly. It seems to have been
compiled/linked. The main difference in the output seems to be lack of
free type version. Is it possible they just don't have it installed?
Can someone spot the problem or suggest how to solve it. TIA
Jim

 

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

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