TFontQuality enumeration
Font output quality, like anti-aliasing.
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 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
member in
TFontData and
TFont.
Modified in LCL 3.0 to be an alias to TFontQuality in System.UITypes for FPC 3.3.0 or higher.
See also
Values
fqDefault | Default font quality; used when appearance is not important. |
fqDraft | Prefer other font features (size, style) against 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 against other font features (size, style). Font quality is more important exactly reproducing the size or style for the font. |
fqNonAntialiased | Disable font anti-aliasing. |
fqAntialiased | Use 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.
