CTFontCopyName(_:_:)
Returns a reference to the requested name of the given font.
Declaration
func CTFontCopyName(_ font: CTFont, _ nameKey: CFString) -> CFString?Parameters
- font:
The font reference.
- nameKey:
The name specifier. See Name Specifier Constants for possible values.
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.