| 
 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] 
 |