I'm attempting to use ImageTTFText to render text to an image, I can get
it to work if I
a) specify the full font path
b) switch off anti-aliasing
c) specify an OpenType font (e.g. arial.ttf)
If I specify a TrueType font (e.g. futura.ttf) I get an error message
"Warning: imagettftext(): Could not find/open font in c:\filepath"
phpinfo() reports:
PHP Version 4.3.4
GD Version bundled (2.0.15 compatible)
also running under apache built from 2.0.47 under Win XP
In summary: I can get OpenType fonts to render, any advice on how to get
TrueType fonts working?
MTIA, if replying by email please use address in sig
--
bof at bof dot me dot uk
it to work if I
a) specify the full font path
b) switch off anti-aliasing
c) specify an OpenType font (e.g. arial.ttf)
If I specify a TrueType font (e.g. futura.ttf) I get an error message
"Warning: imagettftext(): Could not find/open font in c:\filepath"
phpinfo() reports:
PHP Version 4.3.4
GD Version bundled (2.0.15 compatible)
also running under apache built from 2.0.47 under Win XP
In summary: I can get OpenType fonts to render, any advice on how to get
TrueType fonts working?
MTIA, if replying by email please use address in sig
--
bof at bof dot me dot uk
Comment