FontHintMetrics

enum FontHintMetrics : Enum<FontHintMetrics>

Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space. Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors.

Entries

UNKNOWN
Link copied to clipboard
common
Unrecognized font hint metrics.
ON
Link copied to clipboard
common
ON()
Use font hint metrics.
OFF
Link copied to clipboard
common
OFF()
Do not hint font metrics.
DEFAULT
Link copied to clipboard
common
Hint metrics in the default manner for the font backend and target device

Properties

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