Declaration

init(glyphsFileAtPath path: String) throws

Declaration

- (instancetype) initWithGlyphsFileAtPath:(NSString *) path error:(NSError **) outError;

Declaration

initWithGlyphsFileAtPath_error_(path: str) -> tuple[GSFont, NSError]

Parameters

path

The path to a Glyphs file or package.

Parameters

path

The path to a Glyphs file or package.

outError

On failure, an error describing the problem.

Discussion

This method is reserved for framework use. Use init(url:)initWithURL:error:initWithURL_error_ to read a font from a file or package.