A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 4: Plug-in 19 - Gif Text

Although web browsers come with a reasonable range of default fonts they don't always provide the look you need for a particular website. In such cases you usually have to resort to calling up a graphic editor and creating logos or headlines there. But with this plug-in all you have to do is upload the TrueType fonts you wish to use to your website and you can then display text in these fonts by having the GD library convert it on the fly to GIF images.

The Figure shows the text "Old English Font" displayed at four different sizes using an Old English TrueType font.