<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTRubyOverhang",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@E@CTRubyOverhang"
  },
  "title" : "CTRubyOverhang"
}
-->

# CTRubyOverhang

Constants that specify whether, and on which side, ruby text can overhang adjacent text if it’s wider than the base text.

```
enum CTRubyOverhang
```

## Topics

### Constants

[`CTRubyOverhang.auto`](/documentation/CoreText/CTRubyOverhang/auto)

The ruby text can overhang adjacent text on both sides.

[`CTRubyOverhang.start`](/documentation/CoreText/CTRubyOverhang/start)

The ruby text can overhang the text that precedes it.

[`CTRubyOverhang.end`](/documentation/CoreText/CTRubyOverhang/end)

The ruby text can overhang the text that follows it.

[`CTRubyOverhang.none`](/documentation/CoreText/CTRubyOverhang/none)

The ruby text can’t overhang the preceding or following text.

[`CTRubyOverhang.invalid`](/documentation/CoreText/CTRubyOverhang/invalid)

The overhang specification is invalid.



---

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)