getCharWidth

fun getCharWidth(font: Key, char: Int): Float
fun getCharWidth(font: Key, char: Char): Float

Gets the width of char when rendered with font.

Note: This width includes the one pixel space rendered between characters.