Function

CTFontCopyAvailableTables

Returns an array of font table tags.

Declaration

CFArrayRef CTFontCopyAvailableTables(CTFontRef font, CTFontTableOptions options);

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

CTFontCopyTable

Returns a reference to the font table data.