<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItemLegibleOutput/TextStylingResolution-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@T@AVPlayerItemLegibleOutputTextStylingResolution"
  },
  "title" : "AVPlayerItemLegibleOutput.TextStylingResolution"
}
-->

# AVPlayerItemLegibleOutput.TextStylingResolution

A text styling resolution.

```
struct TextStylingResolution
```

## Topics

### Text styling options

[`static let `default`: AVPlayerItemLegibleOutput.TextStylingResolution`](/documentation/AVFoundation/AVPlayerItemLegibleOutput/TextStylingResolution-swift.struct/default)

The text styling information is the same level of information that AVFoundation uses within a player layer.

[`static let sourceAndRulesOnly: AVPlayerItemLegibleOutput.TextStylingResolution`](/documentation/AVFoundation/AVPlayerItemLegibleOutput/TextStylingResolution-swift.struct/sourceAndRulesOnly)

The level of resolution excludes styling provided by the user-level Media Accessibility settings.

### Initializers

[`init(rawValue: String)`](/documentation/AVFoundation/AVPlayerItemLegibleOutput/TextStylingResolution-swift.struct/init(rawValue:))

Creates a text styling resolution structure with a string value.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)