Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
TrueType for Displays
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
Display drivers that handle raster fonts can also handle TrueType fonts
without modification. GDI supports TrueType in display drivers by building
FONTINFO structures that contain rasterized the glyph bitmaps. GDI passes a
pointer to this structure to the driver's ExtTextOut or StrBlt function
along with the string to be displayed.
 
Display drivers can handle text in TrueType fonts almost identically to text
in regular raster fonts. One important difference, however, is that TrueType
glyphs are designed to be more readable by minimizing the gaps between
glyphs──in fact, some glyphs overlap. To take full advantage of the design
and maintain performance, display drivers may need some modification to
allow for overlapping glyphs.
 
For more information about handling TrueType fonts in display drivers, see
the section Fonts.
 
                                      ♦