Ninjakreborn Posted November 26, 2010 Share Posted November 26, 2010 I am working on an existing system. It has the GD library (I think). The system is very hard to understand because of how it was built. Either way, I am trying to add new fonts. I notice each font the other developer uses has a .php, .ttf, .t18 and .afm. Each one of the font has each one of those files, named the same as the font. I am going crazy, trying to figure out how to add more fonts. The client has requested that I add another 5-15 fonts. Pretty much whatever I can get my hands on. So I was curious, where can I find these kinds of fonts. Since there is a .php file, I assumed this was located somewhere as a php resource. I have search all over, but don't know what I am looking for. Or do I have to use any font, and then custom build the php file for that font, based off how that font works. How would someone learn how the internal workings would work, for a specific font? Quote Link to comment https://forums.phpfreaks.com/topic/219919-question-regarding-php-fonts/ Share on other sites More sharing options...
JasonLewis Posted November 27, 2010 Share Posted November 27, 2010 What is in the PHP file? From that list of extensions, the only one that I recognise as a valid font format is .ttf The other files may be language files or something that imports the font to be allowed use in the application. Quote Link to comment https://forums.phpfreaks.com/topic/219919-question-regarding-php-fonts/#findComment-1140259 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.