FontManager

Properties

Link copied to clipboard
const val DEFAULT_FONT_SIZE: Float = 43.0f

Since our font renderer does not support dynamic font size changes, we will use 43 as the default font size.

Link copied to clipboard

The active font renderer that all text rendering will be based on.

Link copied to clipboard

The glyph manager that is responsible for managing the glyph pages.

Functions

Link copied to clipboard
fun fontFace(name: String): FontFace?

Returns the font by the given name.

Link copied to clipboard
suspend fun queueFontFromStream(stream: InputStream)