# `GSGlyph applyGlyphInfo:changeName:changeUnicode:`

*Instance Method*

Applies glyph information from a Glyph Info Database record.

## Declaration

```swift
func apply(_ info: GSGlyphInfo, changeName: Bool, changeUnicode: Bool)
```

```objc
- (void) applyGlyphInfo:(GSGlyphInfo *) info changeName:(BOOL) changeName changeUnicode:(BOOL) changeUnicode;
```

```python
applyGlyphInfo_changeName_changeUnicode_(info: GSGlyphInfo, changeName: bool, changeUnicode: bool)
```

## Parameters

- `info` — The glyph information to apply.
- `changeName` — Whether to adopt the name from the glyph information.
- `changeUnicode` — Whether to adopt the Unicode values from the glyph information.

## Discussion

Glyph info stored as glyph-local overrides is preserved. The name and Unicode values are changed only when requested. An established private-use glyph name is preserved.

## See Also

### Glyph Info

- [`GSGlyph hasCustomGlyphInfo`](/Core/GlyphsCore/GSGlyph/hasCustomGlyphInfo) — Whether any glyph info is stored as a glyph-local override.
- [`GSGlyph applyGlyphInfoFast:changeName:changeUnicode:`](/Core/GlyphsCore/GSGlyph/applyGlyphInfoFast:changeName:changeUnicode:) — Applies glyph information from a Glyph Info Database record for construction-time use.

