loadFace

fun loadFace(fileOrUrl: String): Face(source)

Load a face

The face is loaded at FontDriver.DEFAULT_SIZE_IN_POINTS, use Face.withSize to obtain the face at other sizes.

Since

0.4.3

Parameters

fileOrUrl

a file or url to load the face from