GDI provides support for font management and text output. The FONTOBJ gives a driver access to a particular instance of a font. To support text output, the driver has access to the STROBJ and related services. These functions are listed in the following table.
Function | Description |
EngTextOut | GDI simulation for DrvTextOut |
FONTOBJ_cGetAllGlyphHandles | Allows the driver to retrieve every glyph handle of a GDI font. The driver uses this service to download an entire font. |
FONTOBJ_vGetInfo | Returns information that describes the associated font. |
FONTOBJ_cGetGlyphs | Translates glyph handles into pointers to the associated glyph data for the font consumer. These pointers are valid until the next call to FONTOBJ_cGetGlyphs. |
FONTOBJ_pxoGetXform | Retrieves the Notional-to-Device transform for the associated font. This transform is required for a driver to realize a driver-supplied font. |
FONTOBJ_pifi | Retrieves the pointer to the IFIMETRICS structure that describes the associated font. |
FONTOBJ_pvTrueTypeFontFile | Retrieves a pointer to the ROM-mapped TrueType file that is associated with a TrueType font. |
STROBJ_vEnumStart | Restarts the enumeration of the GLYPHPOS array for the specified STROBJ. This function should be called by the driver prior to subsequent enumerations. |
STROBJ_bEnum | Enumerates glyph identities and positions in the specified STROBJ. |
STROBJ_dwGetCodePage | Returns the code page associated with the specified STROBJ. |
For more information on these functions, refer to the Graphics Driver Reference.