register

fun register(name: String, url: String, weight: Int = 400, italic: Boolean = false)(source)

registers the font file url for the family name, with weight and as italic when italic is set