O'Reilly logo

Windows Graphics Programming Win32 GDI and DirectDraw® by Feng Yuan

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

Chapter 15. Text

Fonts, as we discussed in the last chapter, serve as a basic building block for text drawing, which is the topic of this chapter. In this chapter, we are going to discuss logical fonts, text drawing functions, simple text formatting, high-quality and high-precision text formatting, and text drawing effects.

LOGICAL FONTS

Chapter 14 covers substantial details about the three major font technologies used in Windows programming—that is, bitmap fonts, vector fonts, and TrueType/OpenType fonts. Even with in-depth knowledge of physical fonts, working directly with them is hard, time consuming, and not a good way to spend an application programmer's time.

To make text drawing easier for Windows applications, physical fonts are not handled ...

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