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

# NSTextScalingType

Constants that specify the text scaling.

```
enum NSTextScalingType
```

## Topics

### Constants

[`NSTextScalingType.standard`](/documentation/AppKit/NSTextScalingType/standard)

Font sizes throughout the document appear visually similar to how they would render in macOS and non-Apple platforms.

[`NSTextScalingType.iOS`](/documentation/AppKit/NSTextScalingType/iOS)

Font sizes throughout the document appear visually similar to how they would render in iOS.

## See Also

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/DocumentAttributeKey/textScaling>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/DocumentAttributeKey/sourceTextScaling>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/DocumentReadingOptionKey/targetTextScaling>

  <doc://com.apple.documentation/documentation/Foundation/NSAttributedString/DocumentReadingOptionKey/sourceTextScaling>



---

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)