Skip to main content

None

object None : FontSpec()

No font for this role: render in the built-in Lato.

Functions​

from​

fun from(id: String?, name: String?) : FontSpec

Classifies one role's raw Id and name fields. See the class KDoc for the rule; in short: positive Id wins as a [Clip], negative Id takes the trimmed [name] as a [Named] font, everything else - including numeric zero and anything unparsable - is [None].