GD library, what TrueType (ttf) fonts are available?

Avatar
  • Answered
Using the GD library to create images on the fly, I'm trying to use the imagettftext() function which asks for the path of a truetype font as one of its parameters.

Reference:
http://www.php.net/manual/en/function.imagettftext.php

What fonts are available, and can I specify the path in a way such as: "./arial.ttf"?
Avatar
Scott
Hello mikeling,

To use this functionality you will want to upload the ttf files into your account and then alter the path to point to your location. This will allow you to place any ttf fonts you desire into the account for your use.

I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best Regards,
Scott M