Companion

object Companion

Functions

Link copied to clipboard

Returns conservative logical and common platform fonts for complex script fallback. Color emoji fonts are preferred ahead of symbol fonts so emoji cells do not degrade to monochrome dingbat glyphs when a native color emoji family is installed.

Link copied to clipboard

Returns the default Swing terminal palette.

Link copied to clipboard

Returns the default terminal font used when hosts do not provide one.

Link copied to clipboard

Returns all installed font family names that are verified to be monospaced on the current system.

Link copied to clipboard
fun resolveFontFamily(requestedFamily: String): String

Resolves the font family name. If the requested font family name is installed on the system (case-insensitively), it returns the exact matched system font family name. Otherwise, it falls back to the first available font from the preferred default monospace font families chain.