TFontQuality enumeration
Represents available output quality settings used in a font.
Declaration
TFontQuality = (fqDefault,fqDraft,fqProof,fqNonAntialiased,
fqAntialiased,fqCleartype,fqCleartypeNatural)Description
TFontQuality is an enumerated type with values that
represent the output quality for fonts. Values in the enumeration
control how carefully font attributes are applied to output using a
given font.
There are situations where an enumeration value may not produce the
desired result. ClearType and ClearTypeNatural anti-aliasing
algorithms are oriented to display usage. They cannot be applied to
printed output in general. They are ignored for fonts that are not
TrueType or OpenType fonts with TrueType outlines. Postscript Type 1
fonts, and Postscript OpenType fonts without TrueType outlines, do
not use ClearType anti-aliasing. Bitmap, vector, and device fonts
cannot use ClearType anti-aliasing. Fonts which contain embedded
bitmaps, like most East Asian fonts, do not use ClearType
anti-aliasing.
TFontQuality is the type used to implement the Quality members in TFontData and TFont.
Values
fqDefault | Default font quality; used when appearance is not important. |
fqDraft | Prefer other font features (size, style) over output quality. Appearance of the font is less important than when fqProof is used. Generally offers lower quality than fqProof or fqDefault. |
fqProof | Prefer output quality over other font features (like size, style). Font quality is more important than exactly reproducing the size or style for the font. |
fqNonAntialiased | Disables font anti-aliasing. |
fqAntialiased | Enables font anti-aliasing. The font is always anti-aliased when supported, and the font size is not too small or too large. |
fqCleartype | Use ClearType font anti-aliasing when available. |
fqCleartypeNatural | Use Clear Type Natural font anti-aliasing when available. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
