Instance Method
importFile(_:from:) importFile:fromURL:error: importFile_fromURL_error_
Import some Data into the existing Font object
Declaration
optional func importFile(_ font: GSFont!, from URL: URL!) throwsDeclaration
- (BOOL) importFile:(GSFont *) font fromURL:(NSURL *) URL error:(NSError **) error;Declaration
importFile_fromURL_error_(font: GSFont, URL: NSURL) -> tuple[bool, NSError]Parameters
fontAn existing, already open Font
URLThe file to import from
Parameters
fontAn existing, already open Font
URLThe file to import from
errorOn return
Return Value
True if success, False if failure