Function

CGFontCopyTableForTag

Returns the font table that corresponds to the provided tag.

Declaration

CFDataRef CGFontCopyTableForTag(CGFontRef font, uint32_t tag);

Parameters

font

A font object.

tag

The tag for the table you want to obtain.

Return Value

The font table that corresponds to the tag, or NULL if no such table exists.

See Also

Working With Font Tables

CGFontCopyTableTags

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