Grx.Font.load_from_file

@accepts(filename)
@returns(Grx.Font)
def load_from_file(filename):
    # Python 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