Declaration

optional func importFile(_ font: GSFont!, from URL: URL!) throws

Declaration

- (BOOL) importFile:(GSFont *) font fromURL:(NSURL *) URL error:(NSError **) error;

Declaration

importFile_fromURL_error_(font: GSFont, URL: NSURL) -> tuple[bool, NSError]

Parameters

font

An existing, already open Font

URL

The file to import from

Parameters

font

An existing, already open Font

URL

The file to import from

error

On return

Return Value

True if success, False if failure