FontHintStyle

enum FontHintStyle : Enum<FontHintStyle>

Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends.

Entries

UNKNOWN
Link copied to clipboard
common
The font hint style is unrecognized.
FULL
Link copied to clipboard
common
Hint outlines to maximize contrast.
MEDIUM
Link copied to clipboard
common
Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast.
SLIGHT
Link copied to clipboard
common
Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.
NONE
Link copied to clipboard
common
Do not hint outlines.
DEFAULT
Link copied to clipboard
common
Use the default hint style for font backend and target device

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int