Instance Method
addFeaBlock(forFileName:code:) addFeaBlockForFileName:code: addFeaBlockForFileName_code_
Adds a feature block to the font, basing the type and title on the file name.
Declaration
func addFeaBlock(forFileName fileName: String, code: String) -> GSFeaBlock?Declaration
- (GSFeaBlock *) addFeaBlockForFileName:(NSString *) fileName code:(NSString *) code;Declaration
addFeaBlockForFileName_code_(fileName: str, code: str) -> GSFeaBlockDiscussion
The file name determines whether a feature, class, or prefix is created. When an existing block with no code matches the file name, that block is reused.
See Also
Layout Code
Returns the FEA block (feature, class, prefix) matching the given file name.
Script and language tags that have layout rules in the compiled temporary font.