PVOID DrvQueryFontTree(
IN DHPDEV dhpdev, | |
IN ULONG iFile, | |
IN ULONG iFace, | |
IN ULONG iMode, | |
IN ULONG *pid | |
); |
When GDI calls DrvQueryFontTree, the driver supplies pointers to structures that define one of the following:
Value |
Meaning |
QFT_KERNPAIRS |
GDI requests a pointer to a sorted, null-terminated array of FD_KERNINGPAIR structures. The kerning pairs should be stored in increasing order. The primary key is the second Unicode character; the secondary key is the first Unicode character in the kerning pair. |
QFT_GLYPHSET |
GDI requests a pointer to an FD_GLYPHSET structure that defines the mappings from single Unicode characters to glyph handles. |
The return value is a pointer to the requested structure if the function is successful. Otherwise, it is null, and an error code is logged.
The returned structure must remain unmodified until GDI calls DrvFree with the address of the structure.
DrvQueryFontTree is required for font drivers and drivers that use device-specific fonts.
DEVINFO, DrvEnablePDEV, DrvFree, DrvLoadFontFile, DrvQueryFontData, DrvQueryFontTree, FD_GLYPHSET, FD_KERNINGPAIR, IFIMETRICS