<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontGetVerticalTranslationsForGlyphs(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontGetVerticalTranslationsForGlyphs"
  },
  "title" : "CTFontGetVerticalTranslationsForGlyphs(_:_:_:_:)"
}
-->

# CTFontGetVerticalTranslationsForGlyphs(_:_:_:_:)

Calculates the offset from the default (horizontal) origin to the vertical origin for an array of glyphs.

```
func CTFontGetVerticalTranslationsForGlyphs(_ font: CTFont, _ glyphs: UnsafePointer<CGGlyph>, _ translations: UnsafeMutablePointer<CGSize>, _ count: CFIndex)
```

## Parameters

`font`

The font reference.

`glyphs`

An array of `count` number of glyphs.

`translations`

On output, the computed origin offsets in an array of `count` number of <doc://com.apple.documentation/documentation/CoreFoundation/CGSize> objects.

`count`

The capacity of the `glyphs` and `translations` buffers.

---

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)