Function

CTFontCopyAvailableTables(_:_:)

Returns an array of font table tags.

Declaration

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

Parameters

font

The font reference.

options

The font table options.

Return Value

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

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software