Text Characteristics

When an application outputs text, it can control several characteristics with the functions provided in the Win32 API: placement of the text, the distance between characters, the color of the text and the background text color, and so on.

Each font has different sizing characteristics that can be determined with the GetTextMetrics function. TrueType fonts also contain more information about characteristics, such as kerning pairs. Kerning pairs are pairs of characters that, when placed together in a string, have the spacing between them adjusted to get the best appearance. These combinations of characters can be retrieved using the GetKerningPairs function. TrueType fonts also have other characteristics that are not applicable ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.