<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTargetTextScalingDocumentOption",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSTargetTextScalingDocumentOption"
  },
  "title" : "NSTargetTextScalingDocumentOption"
}
-->

# NSTargetTextScalingDocumentOption

The text scaling mode to use after reading the text from disk.

```
extern NSAttributedStringDocumentReadingOptionKey const NSTargetTextScalingDocumentOption;
```

## Discussion

The value of this property is one of the options of the [`NSTextScalingType`](/documentation/AppKit/NSTextScalingType) type. Some platforms scale fonts to improve their appearance. Include this option to specify the text-scaling mode you want to use for the document you read.

---

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)