background on fonts
Much of the remainder of this chapter addresses working with different fonts. Before you get involved with specific code, however, you’ll benefit from having a firm grasp of the basics of fonts as they are implemented in Windows.
The Types of Fonts
Windows supports two broad categories of fonts, called "GDI fonts” and "device fonts.” The GDI fonts are stored in files on your hard disk. Device fonts are native to an output device. For example, it is common for printers to have a collection of built-in device fonts.
GDI fonts come in three flavors: raster fonts, stroke fonts, and TrueType fonts.
A raster font is sometimes also called a bitmap font, because each character is stored as a bitmap pixel pattern. Each raster font is designed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access