# `GSFont.glyphs`

*Instance Property*

The local glyphs defined by the font.

## Declaration

```swift
var glyphs: [GSGlyph] { get set }
```

```objc
@property (nonatomic, strong) NSArray<GSGlyph *> * glyphs;
```

[See also `glyphs` in the Python API](https://docu.glyphsapp.com/#GSFont.glyphs)

```python
pyobjc_instanceMethods.glyphs() -> list[GSGlyph]
pyobjc_instanceMethods.setGlyphs_(glyphs: list[GSGlyph])
```

## Discussion

Glyphs imported from linked fonts are available through [`GSFont.allGlyphs`](/Core/GlyphsCore/GSFont/allGlyphs). Use the glyph mutation methods to maintain ownership, caches, undo, and change notifications.

## See Also

### Glyphs

- [`GSFont.allGlyphs`](/Core/GlyphsCore/GSFont/allGlyphs) — The local and imported glyphs available to the font.
- [`GSFont.importedGlyphs`](/Core/GlyphsCore/GSFont/importedGlyphs) — The glyphs supplied by linked fonts.
- [`GSFont.count`](/Core/GlyphsCore/GSFont/count) — The number of local glyphs defined by the font.
- [`GSFont countOfGlyphs`](/Core/GlyphsCore/GSFont/countOfGlyphs) — The number of local glyphs defined by the font.
- [`GSFont glyphAtIndex:`](/Core/GlyphsCore/GSFont/glyphAtIndex:) — Returns the local glyph at an index in [`GSFont.glyphs`](/Core/GlyphsCore/GSFont/glyphs), or `nil` when the index is out of bounds.
- [`GSFont indexOfGlyph:`](/Core/GlyphsCore/GSFont/indexOfGlyph:) — Returns the index of a local glyph in [`GSFont.glyphs`](/Core/GlyphsCore/GSFont/glyphs), or `NSNotFound` when the glyph is not present.

