Function

CTFontCopyFamilyName(_:)

Returns the family name of the given font.

Declaration

func CTFontCopyFamilyName(_ font: CTFont) -> CFString

Parameters

font

The font reference.

Return Value

A retained reference to the family name of the font.

See Also

Getting Font Names

func CTFontCopyPostScriptName(CTFont) -> CFString

Returns the PostScript name of the given font.

func CTFontCopyFullName(CTFont) -> CFString

Returns the full name of the given font.

func CTFontCopyDisplayName(CTFont) -> CFString

Returns the display name of the given font.

func CTFontCopyName(CTFont, CFString) -> CFString?

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