//
//  GSGlyph+TrueTypeCurves.h
//  GlyphsCore
//
//  Created by Georg Seifert on 11/09/16.
//  Copyright © 2016 schriftgestaltung.de. All rights reserved.
//

#import <GlyphsCore/GSGlyph.h>

@class GSPath;

@interface GSGlyph (TrueTypeCurves)
- (NSArray *)decomposeBracketLayersSubstitutions:(NSMutableArray *)substitutions error:(out NSError **)error;

- (BOOL)decomposeAndCleanupError:(out NSError **)error;

- (BOOL)convertToCompatibleTrueTypeWithError:(CGFloat)curveError error:(out NSError **)error;

+ (BOOL)convertPath:(GSPath *)path toTrueTypeWithError:(CGFloat)curveError error:(out NSError **)error;
@end
