InMotion Hosting Support Center

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

Category: Image Editing

2012-07-09 7:11 pm EST

Hits: 3,090
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.


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

You must login before you can ask a follow up question.

You must login before you can submit an answer.

I want to use the gd/gd2 library from php. Is it installed on your servers or should I install it? It is not available in the cPanel's PEAR.
0 Points
2013-09-27 07:51 pm EST
Hello seanyore,

Mant times GD is installed by default, however, it does depend on the server that you are on. This article will help you find more information on if it is installed and what version it is:

Is GD Library installed on the server?
11,186 Points
2013-09-30 08:29 am EST



43,761 Points
2012-07-10 9:15 am EST
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

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!