candidates

fun candidates(families: List<String>, weight: Int = 400, italic: Boolean = false, faces: List<FontFace> = emptyList()): List<String>(source)

The font files for families, in order of preference: for every family, the sources of the matching one of faces or the registered file, then fallback. Faces are matched like registrations are. A font that can not be loaded is followed by the fonts of the next families, as in CSS.