DynamicFont renders vector font files at runtime.
DynamicFont renders vector font files (such as TTF or OTF) dynamically at runtime instead of using a prerendered texture atlas like [BitmapFont]. This trades the faster loading time of [BitmapFont]s for the ability to change font parameters like size and spacing during runtime. [DynamicFontData] is used for referencing the font file paths.
Adds a fallback font.
Returns the fallback font at index [code]idx[/code].
Returns the number of fallback fonts.
Returns the font size in pixels.
Returns the given type of spacing in pixels. See [code]SPACING_*[/code] constants.
Returns [code]true[/code] if filtering is used.
Returns [code]true[/code] if mipmapping is used.
Removes the fallback font at index [code]idx[/code].
Sets the fallback font at index [code]idx[/code].
Sets the [DynamicFontData].
Sets the font size.
Sets the spacing of the given type. See [code]SPACING_*[/code] constants.
Set to [code]true[/code] to use filtering.
Set to [code]true[/code] to use mipmapping.
Extra spacing at the bottom in pixels.
Extra character spacing in pixels.
Extra space spacing in pixels.
Extra spacing at the top in pixels.
The font data.
The font size.
If [code]true[/code] filtering is used.
If [code]true[/code] mipmapping is used.
Spacing at the top.
Spacing at the bottom.
Character spacing.
Space spacing.