Contents

CTFontCopyName(_:_:)

Returns a reference to the requested name of the given font.

Declaration

func CTFontCopyName(_ font: CTFont, _ nameKey: CFString) -> CFString?

Parameters

Return Value

The requested name for the font, or NULL if the font does not have an entry for the requested name. The Unicode version of the name is preferred, otherwise the first available version is returned.

See Also

Getting Font Names