[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TFontQuality

Font output quality, like anti-aliasing.

## Declaration

Source position: graphics.pp line 78

`type TFontQuality = (`
`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.
`);`

## 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.

Remark:

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.

## Version info

Modified in LCL 3.0 to be an alias to TFontQuality in System.UITypes for FPC 3.3.0 or higher.

## See also

TFont.Quality |  | Output quality for the Font, such as anti-aliasing.
TFontData |  | Contains information about a font used in an application.