Instance Method
addGlyph(_:)addGlyph:addGlyph_
Adds a glyph to the font.
Declaration
func addGlyph(_ glyph: GSGlyph)Declaration
- (void) addGlyph:(GSGlyph *) glyph;Declaration
addGlyph_(glyph: GSGlyph)Discussion
The glyph receives this font as its parent and is assigned a unique name and identifier when needed. This operation supports undo and updates observers and lookup caches. The glyph must not belong to another font.
See Also
Adding and Removing Glyphs
Creates a glyph configured for the font without adding it to glyphs.
Creates a glyph configured for the font without adding it to glyphs.
Adds a glyph without undo, observer notifications, synchronization, or cache updates.
Adds a sequence of glyphs to the font as one undoable change.
Removes a glyph from the font and clears its parent.
Removes a sequence of glyphs from the font as one undoable change.
Creates and adds glyphs for a sequence of glyph names and Unicode ranges.