O'Reilly logo

PHP Advanced for the World Wide Web: Visual QuickPro Guide by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using TrueType Fonts

The font options available to you when creating simple images as you did in the previous example can be limiting: five fixed-size and crude fonts. There are two other font options for creating images: PostScript fonts and TrueType fonts. PostScript fonts were designed for improved printing and are therefore more suited for straight text documents rather than Web images, in my opinion. It is an option for those more accustomed to them, but I'll stick to TrueType fonts in my examples here.

Without going into unnecessary font details, suffice it to say that TrueType fonts are the default fonts on most operating systems because they render higher-quality text (they are anti-aliased, which is to say not jagged) than their predecessors' ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required