Function

CTFontDescriptorCopyAttributes

Returns the attributes dictionary of the font descriptor.

Declaration

CFDictionaryRef CTFontDescriptorCopyAttributes(CTFontDescriptorRef descriptor);

Parameters

descriptor

The font descriptor.

Return Value

The font descriptor attributes dictionary. This dictionary contains the minimum number of attributes to specify fully this particular font descriptor.

See Also

Getting Attributes

CTFontDescriptorCopyAttribute

Returns the value associated with an arbitrary attribute.

CTFontDescriptorCopyLocalizedAttribute

Returns a localized value for the requested attribute, if available.