Grx.Font.load_from_file
function load_from_file(filename: String): Grx.Font {
// Gjs wrapper for grx_font_load_from_file()
}
Loads a font from a file. Only loads the first font face in the file.
- filename
the file path
- Returns
the font or null if there was an error such as the font was not found.