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

Category: Image Editing

mikeling
Asked:
2012-07-09 7:11 pm EST

Hits: 1,398
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"?

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.
seanyore
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?
JeffMa
7,372 Points
2013-09-30 08:29 am EST

OTHER ANSWERS

0

Scott
Staff
15,308 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?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201638

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!