DWORD SetMapperFlags(hdc, f) | |||
HDC hdc; | |||
DWORD f; |
The SetMapperFlags function alters the algorithm that the font mapper uses when it maps logical fonts to physical fonts.
hdc
Identifies the device context that contains the font-mapper flag.
f
Specifies whether the font mapper attempts to match a font's aspect height and width to the device. When the first bit is set to 1, the mapper will only select fonts whose x-aspect and y-aspect exactly match those of the specified device. If no fonts exist with a matching aspect height and width, GDI chooses an aspect height and width. GDI then selects fonts that matches this aspect height and width.
The return value specifies the previous value of the font-mapper flag. Will return GDI_ERROR if an error occurs.
The remaining bits of the f parameter must be zero.