# `GSFont doUpdateRenamedGlyphs:`

*Instance Method*

Updates references to renamed glyphs without requesting confirmation.

## Declaration

```swift
func doUpdateRenamedGlyphs(_ renamedGlyphs: [String : String])
```

```objc
- (void) doUpdateRenamedGlyphs:(NSDictionary<NSString *,NSString *> *) renamedGlyphs;
```

```python
doUpdateRenamedGlyphs_(renamedGlyphs: dict[str, str])
```

## Parameters

- `renamedGlyphs` — A mapping from previous glyph names to new glyph names.

## Discussion

Metrics keys, path components, and feature code are updated where they refer to a previous name.

## See Also

### Glyph Names

- [`GSFont safeNameForGlyph:`](/Core/GlyphsCore/GSFont/safeNameForGlyph:) — A name that is unique among the local glyphs in the font.
- [`GSFont safeNameForName:`](/Core/GlyphsCore/GSFont/safeNameForName:) — A name that is unique among the local glyphs in the font.
- [`GSFont safeSuffixForGlyph:`](/Core/GlyphsCore/GSFont/safeSuffixForGlyph:) — A suffix that makes the glyph name unique among the local glyphs in the font, or `nil` when no suffix is needed.
- [`GSFont makeSafeGlyphInfo:`](/Core/GlyphsCore/GSFont/makeSafeGlyphInfo:) — Makes the glyph name unique among the local glyphs in the font.
- [`GSFont glyphHasChangedName:oldName:`](/Core/GlyphsCore/GSFont/glyphHasChangedName:oldName:) — Notifies the font that a glyph name has changed.
- [`GSFont needsUpdateRenamedGlyphs:`](/Core/GlyphsCore/GSFont/needsUpdateRenamedGlyphs:) — The kinds of references affected by renamed glyphs.
- [`GSFont updateRenamedGlyphs:`](/Core/GlyphsCore/GSFont/updateRenamedGlyphs:) — Updates references to renamed glyphs after confirmation when affected references exist.
- [`GSFont code:containsGlyphName:`](/Core/GlyphsCore/GSFont/code:containsGlyphName:) — Returns whether OpenType feature code contains a glyph name as a complete token.

