Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
I have a true type font, that I would like to use with GD library, but I don't have TTF support for it, is there any way to change ttf to Linux type of fonts (not sure what type they are), so I could use it with GD library? Thanks!
Hi!
I have a true type font, that I would like to use with GD library, but I don't have TTF support for it, is there any way to change ttf to Linux type of fonts (not sure what type they are), so I could use it with GD library? Thanks!
Don't know what GD library is, but all of my Linuces use TTF fonts with no problem.
Look in /usr/share/fonts and you should see folders for various types. (Depending on your distro, the path could be different)
I know, but that library is independent from other applications.
Quote:
GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and "wrappers" are available for Perl, PHP and other languages. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.
I know, but that library is independent from other applications.
you just hit the shallow end of my knowledge pool.
I can't tell from what you quoted how fonts get into the picture. If it needs fonts, would it not recognize standard formats such as TTF?
No, it needs extra library for TTF, but since it's on a live server, I can't compile anything, thats why only solution would be change the font type so that GD can recognize them.
No, it needs extra library for TTF, but since it's on a live server, I can't compile anything, thats why only solution would be change the font type so that GD can recognize them.
What font type does it want?????? You said "Linux fonts" earlier, but there is no such thing as "Linux font type"
Common font types include Truetype (TTF), Type 1, and Bitmap
No, it needs extra library for TTF, but since it's on a live server, I can't compile anything, thats why only solution would be change the font type so that GD can recognize them.
So the server you are accessing has the gd library installed, but is lacking the freetype library (which is used by gd)? That’s a strange setup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.