Using the Font and Text-Output Functions

This section describes how you can use the font and text-output functions to draw normal text, draw text from different fonts on the same line, rotate lines of text, display the font-selection common dialog-box, enumerate fonts, and so on.

·Using a stock font to draw text

·Creating a logical font

·Enumerating the installed fonts

·Checking the text capabilities of a device

·Setting the text alignment

·Drawing text from different fonts on the same line

·Rotating lines of text

·Retrieving character outlines

·Using portable truetype metrics

·Using PANOSE numbers

·Creating customized fonts