Skip to main content

TdxFontQuality Enum

Enumerates available font rendering quality levels.

Declaration

TdxFontQuality = (
    Default,
    Draft,
    Proof,
    NonAntialiased,
    Antialiased,
    ClearType,
    ClearTypeNatural
);

Members

Name Description Example
Default

Default, recommended option. The font quality depends on settings at the operating system level.

Default Text Quality

Draft

In this mode, scaling is enabled for raster fonts. The font size can be increased but the quality may be lower.

This option corresponds to the Default value for TrueType fonts.

Draft Text Quality

Proof

This mode disables scaling for raster fonts. The operating system chooses a different raster font with the closest glyph size.

This option corresponds to the Default value for TrueType fonts.

Proof

NonAntialiased

Antialiasing is never applied to the font.

No Antialiasing

Antialiased

The current font is always antialiased if this effect is supported for the font.

Antialiased Text

ClearType
ClearTypeNatural

Remarks

The TdxFontOptions.Quality property references the TdxFontQuality type.

Note

TdxFontQuality is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFontQuality.Antialiased (in Delphi) or TdxFontQuality::Antialiased (in C++Builder) to refer to the Antialiased value in code.

See Also