---
title: "CTFontCopyTable(_:_:_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontcopytable(_:_:_:)"
---

# CTFontCopyTable(_:_:_:)

Returns a reference to the font table data.

## Declaration

```swift
func CTFontCopyTable(_ font: CTFont, _ table: CTFontTableTag, _ options: CTFontTableOptions) -> CFData?
```

## Parameters

- `font`: The font reference.
- `table`: The font table identifier as a doc://com.apple.coretext/documentation/CoreText/CTFontTableTag constant. See doc://com.apple.coretext/documentation/CoreText/CTFontTableTag for possible values.
- `options`: The font table options.

## Return Value

Return Value A retained reference to the font table data as a CFData object. The table data is not actually copied; however, the data reference must be released.

## See Also

### Getting Font Table Data

- [CTFontCopyAvailableTables(_:_:)](coretext/ctfontcopyavailabletables(_:_:).md)
