CTFontDescriptor
A font descriptor.
Declaration
class CTFontDescriptorOverview
A font descriptor is a dictionary of attributes (such as name, point size, and variation) that can completely specify a font.
A font descriptor can be an incomplete specification, in which case the system chooses the most appropriate font to match the given attributes.
Topics
Creating Font Descriptors
CTFontDescriptorCreateWithNameAndSize(_:_:)CTFontDescriptorCreateWithAttributes(_:)CTFontDescriptorCreateCopyWithAttributes(_:_:)CTFontDescriptorCreateCopyWithVariation(_:_:_:)CTFontDescriptorCreateCopyWithFeature(_:_:_:)CTFontDescriptorCreateCopyWithFamily(_:_:)CTFontDescriptorCreateCopyWithSymbolicTraits(_:_:_:)CTFontDescriptorCreateMatchingFontDescriptors(_:_:)CTFontDescriptorCreateMatchingFontDescriptor(_:_:)
Getting Attributes
CTFontDescriptorCopyAttributes(_:)CTFontDescriptorCopyAttribute(_:_:)CTFontDescriptorCopyLocalizedAttribute(_:_:_:)