face

fun face(file: String, size: Double, weight: Int = 400, opticalSize: Double? = size, settings: Map<String, Double> = emptyMap()): Face(source)

The face of file at size. A variable font is set to the axes of settings, given by their tags as in CSS font-variation-settings; its weight axis follows weight and its optical size follows opticalSize when the settings do not give them, as browsers do.