getThemeFont

fun getThemeFont(name: String, type: String = this::class.simpleName ?: ""): BitmapFont

Return

a BitmapFont from the first matching Theme in the tree that has a BitmapFont with the specified name and type. If type is omitted the class name of the current control is used as the type.