I want to put text on top of an image using GD.
When i use
ImageTTFText($image, $fontSize, $fontRotation, 7, 22, $colorShadow, 'arial.ttf', $str);
I get
Warning: imagettftext () [function.imagettftext]: could not find / open the font in /home/index.php on line 17
Can I force PHP or GD to return a list of all available fonts on my system?
thank
Update
... or do I need to download all the fonts myself so that I want GD to have access?
source
share