resolve

abstract fun resolve(nameOrPath: String, fileSystem: FileSystem): 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

fileSystem

the file system to resolve relative font file paths from