<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSAttributedString/Key/glyphInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSGlyphInfoAttributeName"
  },
  "title" : "glyphInfo"
}
-->

# glyphInfo

The name of a glyph info object.

```
static let glyphInfo: NSAttributedString.Key
```

## Discussion

The <doc://com.apple.documentation/documentation/AppKit/NSLayoutManager> object assigns the glyph specified by this <doc://com.apple.documentation/documentation/AppKit/NSGlyphInfo> object to the entire attribute range, provided that its contents match the specified base string, and that the specified glyph is available in the font specified by `NSFontAttributeName`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)