---
title: "CTGlyphInfoGetGlyph(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctglyphinfogetglyph(_:)"
---

# CTGlyphInfoGetGlyph(_:)

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

## Declaration

```swift
func CTGlyphInfoGetGlyph(_ glyphInfo: CTGlyphInfo) -> CGGlyph
```

## Parameters

- `glyphInfo`: The glyph info object from which to get the glyph.

## Return Value

Return Value A CGGlyph value, if the glyph info object was created with a font; otherwise, 0.

## See Also

### Getting GlyphInfo Data

- [CTGlyphInfoGetGlyphName(_:)](coretext/ctglyphinfogetglyphname(_:).md)
- [CTGlyphInfoGetCharacterIdentifier(_:)](coretext/ctglyphinfogetcharacteridentifier(_:).md)
- [CTGlyphInfoGetCharacterCollection(_:)](coretext/ctglyphinfogetcharactercollection(_:).md)
