Instance Property


Returns an array of tags that correspond to the font tables for a font.


var tableTags: CFArray? { get }



A CGFont object.

Return Value

An array of font table tags.


Each entry in the returned array is a four-byte value that represents a single TrueType or OpenType font table tag. To obtain a tag at index k in a manner that is appropriate for 32-bit and 64-bit architectures, you need to use code similar to the following:

tag = (uint32_t)(uintptr_t)CFArrayGetValue(table, k);

See Also

Working with Font Tables

func table(for: UInt32) -> CFData?

Returns the font table that corresponds to the provided tag.

Font Table Index Values

Possible values for an index into a font table.