FD_GLYPHSET * EngComputeGlyphSet(
INT nCodePage, | |
INT nFirstChar, | |
INT cChars | |
); |
EngComputeGlyphSet computes the glyph set supported on a device.
Parameters
nCodePage
Specifies the code page supported.
nFirstChar
Character code of the first supported ANSI character.
cChars
Number of ANSI characters supported.
Return Value
If the glyph set is computed successfully, a pointer to an FD_GLYPHSET structure is returned. null is returned if an error occurred.
Comments
A driver can use EngComputeGlyphSet to compute the glyph set for a font that contains only glyphs in the code page described by nCodePage.
The driver must call EngFreeMem to free memory when it is done using the FD_GLYPHSET structure returned by EngComputeGlyphSet.
See Also