Companion

object Companion

Functions

Link copied to clipboard

Retrieves a fallback font based on optional font preferences.

Link copied to clipboard

Retrieves the byte array of a fallback font specified by optional font options.

Link copied to clipboard
fun getFallbackFonts(opts: Fonts.FontOpts = Fonts.FontOpts.DEFAULT): List<Fonts.Font>

Retrieves a list of fallback fonts based on optional font preferences.

Link copied to clipboard

Reads and returns the bytes of a font file for a specified font.

Link copied to clipboard

Retrieves the file for a specified font from the system's font paths.

Link copied to clipboard

Retrieves a list of all system fonts available.

Link copied to clipboard

Retrieves a map of all system fonts available.

Link copied to clipboard