BitmapFontBuilder

Functions

Link copied to clipboard
abstract fun includeGlyphs(chars: Set<Char>)

Choose which characters to include in the final bitmap. You can call this multiple times. If this is not called, then a default of 32..255 is used.

Link copied to clipboard
abstract fun maxTextureWidth(value: Int)

If you don't specify a maxTextureWidth, then a heuristic will choose a reasonable value based on the font size. So you can safely ignore this!

Link copied to clipboard
abstract fun padding(x: Int, y: Int = x)

Adds additional padding around each glyph. This is useful if you want to create an outlined font.