# `GSFont removeGlyph:`

*Instance Method*

Removes a glyph from the font and clears its parent.

## Declaration

```swift
func removeGlyph(_ glyph: GSGlyph)
```

```objc
- (void) removeGlyph:(GSGlyph *) glyph;
```

```python
removeGlyph_(glyph: GSGlyph)
```

## Discussion

This operation supports undo and updates observers and lookup caches. The glyph must belong to this font.

## See Also

### Adding and Removing Glyphs

- [`GSFont newGlyphWithName:`](/Core/GlyphsCore/GSFont/newGlyphWithName:) — Creates a glyph configured for the font without adding it to [`GSFont.glyphs`](/Core/GlyphsCore/GSFont/glyphs).
- [`GSFont newGlyphWithName:changeName:`](/Core/GlyphsCore/GSFont/newGlyphWithName:changeName:) — Creates a glyph configured for the font without adding it to [`GSFont.glyphs`](/Core/GlyphsCore/GSFont/glyphs).
- [`GSFont addGlyph:`](/Core/GlyphsCore/GSFont/addGlyph:) — Adds a glyph to the font.
- [`GSFont addGlyphFast:`](/Core/GlyphsCore/GSFont/addGlyphFast:) — Adds a glyph without undo, observer notifications, synchronization, or cache updates.
- [`GSFont addGlyphsFromArray:`](/Core/GlyphsCore/GSFont/addGlyphsFromArray:) — Adds a sequence of glyphs to the font as one undoable change.
- [`GSFont removeGlyphs:`](/Core/GlyphsCore/GSFont/removeGlyphs:) — Removes a sequence of glyphs from the font as one undoable change.
- [`GSFont generateGlyphs:callback:`](/Core/GlyphsCore/GSFont/generateGlyphs:callback:) — Creates and adds glyphs for a sequence of glyph names and Unicode ranges.

