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.
Removes the fallback font at index [code]idx[/code].
Sets the fallback font at index [code]idx[/code].
- 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.