![]() | LOGFONTFont |
Member name | Value | Description |
---|---|---|
OUT_DEFAULT_PRECIS | 0 | Specifies the default font mapper behavior. |
OUT_STRING_PRECIS | 1 | This value is not used by the font mapper, but it is returned when raster fonts are enumerated. |
OUT_CHARACTER_PRECIS | 2 | Not used. |
OUT_STROKE_PRECIS | 3 | This value is not used by the font mapper, but it is returned when TrueType, other outline-based fonts, and vector fonts are enumerated. |
OUT_TT_PRECIS | 4 | Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name. |
OUT_DEVICE_PRECIS | 5 | Instructs the font mapper to choose a Device font when the system contains multiple fonts with the same name. |
OUT_RASTER_PRECIS | 6 | Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name. |
OUT_TT_ONLY_PRECIS | 7 | Instructs the font mapper to choose from only TrueType fonts. If there are no TrueType fonts installed in the system, the font mapper returns to default behavior. |
OUT_OUTLINE_PRECIS | 8 | This value instructs the font mapper to choose from TrueType and other outline-based fonts. |
OUT_SCREEN_OUTLINE_PRECIS | 9 | |
OUT_PS_ONLY_PRECIS | 10 |
The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type. It can be one of the following values.
Applications can use the OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, OUT_TT_PRECIS, and OUT_PS_ONLY_PRECIS values to control how the font mapper chooses a font when the operating system contains more than one font with a specified name. For example, if an operating system contains a font named Symbol in raster and TrueType form, specifying OUT_TT_PRECIS forces the font mapper to choose the TrueType version. Specifying OUT_TT_ONLY_PRECIS forces the font mapper to choose a TrueType font, even if it must substitute a TrueType font of another name.