# `GSFont glyphForNameFast:`

*Instance Method*

Returns a glyph for a local lookup by name, or `nil` when no glyph matches.

## Declaration

```swift
func glyph(forNameFast name: String) -> GSGlyph?
```

```objc
- (GSGlyph *) glyphForNameFast:(NSString *) name;
```

```python
glyphForNameFast_(name: str) -> GSGlyph
```

## Discussion

Use this method for repeated local lookups when glyph names have not changed. Imported glyphs are not guaranteed to be found.

## See Also

### Accessing Glyphs

- [`GSFont glyphForName:`](/Core/GlyphsCore/GSFont/glyphForName:) — Returns the local or imported glyph with a name, or `nil` when no glyph matches.
- [`GSFont localGlyphForName:`](/Core/GlyphsCore/GSFont/localGlyphForName:) — Returns the local glyph with a name, or `nil` when no glyph matches.
- [`GSFont glyphForId:`](/Core/GlyphsCore/GSFont/glyphForId:) — Returns the local or imported glyph with an identifier, or `nil` when no glyph matches.
- [`GSFont hasGlyphWithName:`](/Core/GlyphsCore/GSFont/hasGlyphWithName:) — Returns whether the font defines a local glyph with a name.
- [`GSFont glyphsForNames:`](/Core/GlyphsCore/GSFont/glyphsForNames:) — Returns the local or imported glyphs matching a sequence of names.
- [`GSFont.glyphNames`](/Core/GlyphsCore/GSFont/glyphNames) — The names of the local glyphs in glyph order.
- [`GSFont.allTags`](/Core/GlyphsCore/GSFont/allTags) — The distinct tags used by local glyphs, sorted by name.
- [`GSFont completionsForName:forPartialWordRange:`](/Core/GlyphsCore/GSFont/completionsForName:forPartialWordRange:) — Returns glyph-name completions for the partial name around a range.

