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

# usesScreenFontsDocumentAttribute

The screen fonts attribute.

```
static let usesScreenFontsDocumentAttribute: NSAttributedString.Key
```

## Discussion

The value of this attribute is an [`NSNumber`](/documentation/Foundation/NSNumber) object containing a Boolean; this attribute corresponds to the <doc://com.apple.documentation/documentation/AppKit/NSLayoutManager/usesScreenFonts> method of <doc://com.apple.documentation/documentation/AppKit/NSLayoutManager>; if absent, follows the system default setting.

---

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)