Renders text using [code]*.fnt[/code] fonts.
Renders text using [code]*.fnt[/code] fonts containing texture atlases. Supports distance fields. For using vector font files like TTF directly, see [DynamicFont].
Adds a character to the font, where [code]character[/code] is the unicode value, [code]texture[/code] is the texture index, [code]rect[/code] is the region in the texture (in pixels!), [code]align[/code] is the (optional) alignment for the character and [code]advance[/code] is the (optional) advance.
Adds a kerning pair to the [code]BitmapFont[/code] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character.
Adds a texture to the [code]BitmapFont[/code].
Clears all the font data and settings.
Creates a BitmapFont from the [code]*.fnt[/code] file at [code]path[/code].
Returns the size of a character, optionally taking kerning into account if the next character is provided.
Returns a kerning pair as a difference.
Returns the font atlas texture at index [code]idx[/code].
Returns the number of textures in the BitmapFont atlas.
Ascent (number of pixels above the baseline).
The characters in the BitmapFont.
If [code]true[/code] distance field hint is enabled.
The fallback font.
Total font height (ascent plus descent) in pixels.
The font's kernings as [PoolIntArray].
The font's [Texture]s.