I am working on am application that is using the GD library to create
the navigation menu.  I would like to check for TTF support in a script
before I declare the image size.  

The reason for this is so I can create width based on the length of the
string if TTF is enabled and take a guess if TTF is not enabled.  I also
want to center the text, and I can only do this with TTF.

So my question, assuming there is no problems with my premise, how can I
safely check to see if TTF is supported from within a script?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to