Jump to content

Question regarding PHP Fonts


Ninjakreborn

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/219919-question-regarding-php-fonts/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.