---
title: "CTGlyphInfoGetGlyphName(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctglyphinfogetglyphname(_:)"
---

# CTGlyphInfoGetGlyphName(_:)

Retrieves the glyph name for a glyph info object, if that object exists.

## Declaration

```swift
func CTGlyphInfoGetGlyphName(_ glyphInfo: CTGlyphInfo) -> CFString?
```

## Parameters

- `glyphInfo`: The glyph info object from which to get the glyph name. This parameter must not be NULL.

## Return Value

Return Value A glyph name, if the glyph info object was created with a name; otherwise, NULL.

## See Also

### Getting GlyphInfo Data

- [CTGlyphInfoGetCharacterIdentifier(_:)](coretext/ctglyphinfogetcharacteridentifier(_:).md)
- [CTGlyphInfoGetCharacterCollection(_:)](coretext/ctglyphinfogetcharactercollection(_:).md)
- [CTGlyphInfoGetGlyph(_:)](coretext/ctglyphinfogetglyph(_:).md)
