Instance Method
decomposeAndCleanupError(_:ignoreIncompatible:) decomposeAndCleanupError:ignoreIncompatible: decomposeAndCleanupError_ignoreIncompatible_
Prepares selected interpolation layers for TrueType curve conversion.
Declaration
func decomposeAndCleanupError(_ error: NSErrorPointer, ignoreIncompatible: Bool) -> BoolDeclaration
- (BOOL) decomposeAndCleanupError:(NSError **) error ignoreIncompatible:(BOOL) ignoreIncompatible;Declaration
decomposeAndCleanupError_ignoreIncompatible_(ignoreIncompatible: bool) -> tuple[bool, NSError]Parameters
errorOn return, an error caused by invalid path structure.
ignoreIncompatibleWhether to omit layers whose shapes are incompatible with the default master.
Return Value
Whether the selected layers were compatible and preparation succeeded.
Discussion
Components that cannot remain compatible are decomposed, component anchors are materialized when needed, and paths are cleaned up and validated. Hints are retained for the subsequent conversion. Layers incompatible with the default master are omitted when ignoreIncompatible is YES.
See Also
Curve Conversion
Converts the glyph’s compatible interpolation layers to quadratic curves.
Converts specified compatible layers to quadratic curves.
Converts cubic segments that can be approximated within a tolerance to quadratic segments.
Prepares compatible interpolation layers for TrueType curve conversion.
Separates Alternative layer groups into glyphs for variable-font substitution.