Hi community,
I'm a new member an I enjoy being part of this community.
I hope someone can help me out of my problem.
I wrote a script using imagettftext and imagettfbbox to write a Text with ttf on a Jpeg.
My problem now is, that in principle the script does what I want (thats what all scripts should do ;-)) but if I reload the script an error message occurs : Warning: imagettfbbox() [function.imagettfbbox]: Could not read font ....
On the next reload everything works fine again.
I tried to use the realpath-Funktion, I tried to put the fonts in the same directory as the script, I tried to use the font-name without .ttf, the result was always the same.
Is there a special workaround or recommendation known on this issue??
Thanks in advance for every help.
Bye Hubi