getCharWidth

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

Gets the width of char when rendered with font.

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