Declaration

func decomposeBracketLayersSubstitutions(_ substitutions: NSMutableArray!) throws -> [Any]

Declaration

- (NSArray *) decomposeBracketLayersSubstitutions:(NSMutableArray *) substitutions error:(NSError **) error;

Declaration

decomposeBracketLayersSubstitutions_error_(substitutions: list) -> tuple[list, NSError]

Parameters

substitutions

A collection to which the substitution rules are appended.

Parameters

substitutions

A collection to which the substitution rules are appended.

error

On return, an error that prevented the layer groups from being separated.

Return Value

The added glyphs, an empty array when no separation is needed, or nil on failure.

Discussion

The receiver retains its first layer group. Other Alternative layer groups become returned glyphs, including required variants of composite glyphs.

See Also

Curve Conversion