FontOutPrecision - FontDialog
Specifies the output precision
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer FontOutPrecision
| Access Type | Syntax |
|---|---|
| Read Access: | Get FontOutPrecision to IntegerVariable |
| Write Access: | Set FontOutPrecision to IntegerVariable/Value |
Description
FontOutPrecision specifies the output precision. 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:
| Constant | Meaning |
|---|---|
| OUT_CHARACTER_PRECIS | Not used. |
| OUT_DEFAULT_PRECIS | Specifies the default font mapper behavior. |
| OUT_DEVICE_PRECIS | Instructs the font mapper to choose a Device font when the system contains multiple fonts with the same name. |
| OUT_OUTLINE_PRECIS | Windows NT: This value instructs the font mapper to choose from TrueType and otheroutline-based fonts.Windows 95: This value is not used. |
| OUT_RASTER_PRECIS | Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name. |
| OUT_STRING_PRECIS | This value is not used by the font mapper, but it is returned when raster fonts are enumerated. |
| OUT_STROKE_PRECIS | Windows NT: This value is not used by the font mapper, but it is returned when TrueType, other outline-based fonts, and vector fonts are enumerated. Windows 95: This value is used to map vector fonts, and is returned when TrueType or vector fonts are enumerated. |
| OUT_TT_ONLY_PRECIS | 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_TT_PRECIS | Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name. |
Applications can use the OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, and OUT_TT_PRECIS values to control how the font mapper chooses a font when the operating system contains more than one font with a given 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.