Function

CTFontCopyTable(_:_:_:)

Returns a reference to the font table data.

Declaration

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

Parameters

font

The font reference.

table

The font table identifier as a CTFontTableTag constant. See CTFontTableTag for possible values.

options

The font table options.

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