Click or drag to resize

LOGFONTFontPrecision Enumeration

The output precision.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public enum FontPrecision
Members
Member nameValueDescription
OUT_DEFAULT_PRECIS0 Specifies the default font mapper behavior.
OUT_STRING_PRECIS1 This value is not used by the font mapper, but it is returned when raster fonts are enumerated.
OUT_CHARACTER_PRECIS2 Not used.
OUT_STROKE_PRECIS3 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_PRECIS4 Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name.
OUT_DEVICE_PRECIS5 Instructs the font mapper to choose a Device font when the system contains multiple fonts with the same name.
OUT_RASTER_PRECIS6 Instructs the font mapper to choose a raster font when the system contains multiple fonts with the same name.
OUT_TT_ONLY_PRECIS7 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_PRECIS8 This value instructs the font mapper to choose from TrueType and other outline-based fonts.
OUT_SCREEN_OUTLINE_PRECIS9 
OUT_PS_ONLY_PRECIS10 
Remarks

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.

See Also