Windows 3.1 includes a new font technology called TrueType and at least 13 core TrueType fonts. In addition to the TrueType fonts that are included with Windows 3.1, many additional TrueType fonts are already available that users can purchase. TrueType fonts can be scaled and rotated; they allow the same fonts to be used on the screen as are used on printers; and they allow documents to be portable between printers, applications, and systems.
The TrueType font technology offers many benefits to application designers, at little or no cost. It is not necessary to revise an application written for Windows
3.0 in order for that application to use TrueType fonts. If an application needs to take full advantage of the greater precision and versatility available with TrueType fonts, however, it can use the following new font functions:
Function | Description |
CreateScalableFontResource | Creates a resource file for a specified TrueType font. |
EnumFontsFamilies | Retrieves the fonts available on a specified device. |
GetCharABCWidths | Retrieves the ABC widths of consecutive TrueType characters. |
GetFontData | Retrieves font-metric data from a TrueType font file. |
GetGlyphOutline | Retrieves data describing the curves of a character in a TrueType font. |
GetKerningPairs | Retrieves kerning pairs for the current font. |
GetOutlineTextMetrics | Retrieves metrics defining TrueType fonts. |
GetRasterizerCaps | Determines whether TrueType is installed. |
The TrueType feature is an integral part of Windows and is available with Windows 3.1 only.