---
title: "CTFontCopyAvailableTables(_:_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontcopyavailabletables(_:_:)"
---

# CTFontCopyAvailableTables(_:_:)

Returns an array of font table tags.

## Declaration

```swift
func CTFontCopyAvailableTables(_ font: CTFont, _ options: CTFontTableOptions) -> CFArray?
```

## Parameters

- `font`: The font reference.
- `options`: The font table options.

## Return Value

Return Value An array of CTFontTableTag values for the given font and the supplied options.

## Discussion

Discussion The returned set will contain unboxed values, which can be extracted like so: CTFontTableTag tag = (CTFontTableTag)(uintptr_t)CFArrayGetValueAtIndex(tags, index);

## See Also

### Getting Font Table Data

- [CTFontCopyTable(_:_:_:)](coretext/ctfontcopytable(_:_:_:).md)
