Function

CTFontCopyFontDescriptor

Returns the normalized font descriptor for the given font reference.

Declaration

CTFontDescriptorRef CTFontCopyFontDescriptor(CTFontRef font);

Parameters

font

The font reference.

Return Value

A normalized font descriptor for a font containing enough information to recreate this font at a later time.

See Also

Getting Font Data

CTFontCopyAttribute

Returns the value associated with an arbitrary attribute of the given font.

CTFontGetSize

Returns the point size of the given font.

CTFontGetMatrix

Returns the transformation matrix of the given font.

CTFontGetSymbolicTraits

Returns the symbolic traits of the given font.

CTFontCopyTraits

Returns the traits dictionary of the given font.

CTFontCopyDefaultCascadeListForLanguages

Retrieves an ordered list of font substitution preferences.