I call the imagettfbbox function like so
imagettfbbox($font_size, 0, 'monofont.ttf', $code) but its generating the following error:
'imagettfbbox() [function.imagettfbbox]: Could not find/open font'
monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe that GD is not installed correctly on my computer.
I get the following info about GD by running phpinfo():
GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.3.5 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled
Following is my php.ini file. None of it makes any sense to me. Is there a way to tell if there is anything wrong with my GD configuration?