TextHintingMode Enum
Definition
Specifies the level of hinting applied to text glyphs during rendering. Text hinting adjusts glyph outlines to improve readability and crispness, especially at small font sizes or low DPI. This enum controls the amount of grid-fitting and outline adjustment performed.
public enum TextHintingMode
Fields
| Name | Description |
|---|---|
| Light | Minimal hinting, preserves glyph shape. |
| None | No hinting, outlines are scaled only. |
| Strong | Aggressive grid-fitting, maximum crispness at low DPI. |
| Unspecified | Hinting mode is not explicitly specified. The default will be used. |
Light Field
Minimal hinting, preserves glyph shape.
public Avalonia.Media.TextHintingMode Light
None Field
No hinting, outlines are scaled only.
public Avalonia.Media.TextHintingMode None
Strong Field
Aggressive grid-fitting, maximum crispness at low DPI.
public Avalonia.Media.TextHintingMode Strong
Unspecified Field
Hinting mode is not explicitly specified. The default will be used.
public Avalonia.Media.TextHintingMode Unspecified