vcl-cxcustomcanvas-e8c7a760.md
Enumerates available font rendering quality levels.
TdxFontQuality = (
Default,
Draft,
Proof,
NonAntialiased,
Antialiased,
ClearType,
ClearTypeNatural
);
| Name | Description | Example |
|---|---|---|
Default |
Default , recommended option. The font quality depends on settings at the operating system level.
|
|
| 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.
|
|
| 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.
|
|
| NonAntialiased |
Antialiasing is never applied to the font.
|
|
| Antialiased |
The current font is always antialiased if this effect is supported for the font.
|
|
| ClearType | | |
| ClearTypeNatural | | |
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