GDI Font and Text Services
GDI provides support for font management and text output. The FONTOBJ structure and related functions give a driver access to a particular instance of a font. To support text output, the driver has access to the STROBJ structure and related functions. The following table lists FONTOBJ- and STROBJ-related functions.
Function | Description |
---|---|
Computes the glyph set supported on a device. |
|
Allocates memory for a cached font file. |
|
Reports an error to the font engine if the font driver encountered an error reading from or writing to a font data cache. |
|
Retrieves a pointer to cached font file data. |
|
Returns the system's default OEM and ANSI code pages. |
|
Retrieves a list of PostScript Type 1 fonts that are installed both locally and remotely. |
|
This is the GDI simulation for the DrvTextOut function. |
|
Allows the driver to retrieve every glyph handle of a GDI font. The driver uses this service to download an entire font. |
|
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. |
|
Retrieves the pointer to the FD_GLYPHSET structure associated with the specified font. |
|
Retrieves the pointer to the IFIMETRICS structure that describes the associated font. |
|
Returns a pointer to a view of an OpenType table. |
|
Returns information about a font's glyphs. |
|
Retrieves a pointer to a view of a TrueType, OpenType, or Type1 font file. |
|
Retrieves the file path(s) associated with a font. |
|
Retrieves the Notional-to-Device transform for the associated font. This transform is required for a driver to realize a driver-supplied font. |
|
Returns information that describes the associated font. |
|
Enumerates glyph identities and positions in the specified STROBJ. |
|
Enumerates glyph identities and positions for a specified text string, but does not create cached glyph bitmaps. |
|
Returns vectors specifying the probable widths of glyphs making up a specified string. |
|
Returns the code page associated with the specified STROBJ. |
|
Retrieves the amount of extra space to be added to each space character in a string when displaying and/or printing justified text. |
|
Restarts the enumeration of the GLYPHPOS array for the specified STROBJ. This function should be called by the driver prior to subsequent enumerations. |