Inherits from NSObject

Overview

Generates the OT features for the Font.

Class Methods

sharedManager

This retunes the feature genrator object.

+ (GSFeatureGenerator *)sharedManager

Return Value

This is always the same object

Instance Methods

makeFeatures:

Generates all default features

- (void)makeFeatures:(GSFont *)Font

Parameters

Font

a font

Discussion

This equivalent with pressing the Update button in font info

reset

resets the generator to a clean state. Call that between generation for different fonts

- (void)reset

updateClassForTag:forFont:

Updates a particular class

- (void)updateClassForTag:(NSString *)Tag forFont:(GSFont *)Font

Parameters

Tag

The name for the class that should be updated

Font

The font object that contains the class

Discussion

This cold be the @Uppercase class

updateFeatureForTag:forFont:

Updates a particular feature

- (void)updateFeatureForTag:(NSString *)Tag forFont:(GSFont *)Font

Parameters

Tag

The Feature tag for the feature that should be updated

Font

The font object that contains the feature

Discussion

If the Feature is not there, it will be added

updatePrefixForTag:forFont:

Updates a particular prefix

- (void)updatePrefixForTag:(NSString *)Tag forFont:(GSFont *)Font

Parameters

Tag

The name for the prefix that should be updated

Font

The font object that contains the prefix