Declaration

init(dict fontDict: [String : Any]) throws

Declaration

- (instancetype) initWithDict:(NSDictionary<NSString *,id> *) fontDict error:(NSError **) error;

Declaration

initWithDict_error_(fontDict: dict[str, object]) -> tuple[GSFont, NSError]

Parameters

fontDict

A dictionary produced from a Glyphs font representation.

Parameters

fontDict

A dictionary produced from a Glyphs font representation.

error

On output, a pointer to an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.

Discussion

Returns nil when the representation cannot be read.

See Also

Creating a Font