---
title: "CTGlyphInfoGetCharacterIdentifier(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctglyphinfogetcharacteridentifier(_:)"
---

# CTGlyphInfoGetCharacterIdentifier(_:)

Gets the character identifier for a glyph info object.

## Declaration

```swift
func CTGlyphInfoGetCharacterIdentifier(_ glyphInfo: CTGlyphInfo) -> CGFontIndex
```

## Parameters

- `glyphInfo`: The glyph info from which to get the character identifier. May not be NULL.

## Return Value

Return Value The character identifier of the given glyph info object.

## See Also

### Getting GlyphInfo Data

- [CTGlyphInfoGetGlyphName(_:)](coretext/ctglyphinfogetglyphname(_:).md)
- [CTGlyphInfoGetCharacterCollection(_:)](coretext/ctglyphinfogetcharactercollection(_:).md)
- [CTGlyphInfoGetGlyph(_:)](coretext/ctglyphinfogetglyph(_:).md)
