resolve

abstract fun resolve(nameOrPath: String, workingDirectory: File?): FontFamily?

Resolves a FontFamily by its name or path.

Return

a new FontFamily if found

Parameters

nameOrPath

the name of the system font or the path/URL to the font file

workingDirectory

the working directory to resolve relative paths