BOOL GetRasterizerCaps(lpStatus, cb) | |||||
LPRASTERIZER_STATUS lpStatus; | /* pointer to structure for status | */ | |||
UINT cb; | /* number of bytes in structure | */ |
The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system.
lpStatus
Points to a RASTERIZER_STATUS structure that receives information about the rasterizer.
cb
Specifies the number of bytes that will be copied into the structure pointed to by the lpStatus parameter.
The return value is TRUE if the function is successful. Otherwise, it is FALSE.
The GetRasterizerCaps function enables applications and printer drivers to determine whether TrueType is installed.
If the TT_AVAILABLE flag is set in the wFlags member of the RASTERIZER_STATUS structure, at least one TrueType font is installed. If the TT_ENABLED flag is set, TrueType is enabled for the system.
GetOutlineTextMetrics