Enumeration

CTFontFormat

The recognized format of the font.

Declaration

typedef enum CTFontFormat : uint32_t {
    ...
} CTFontFormat;

Overview

Use the values of this enumeration for kCTFontFormatAttribute.

Topics

Font Formats

kCTFontFormatUnrecognized

The font is not a recognized format.

kCTFontFormatOpenTypePostScript

The font is an OpenType format containing PostScript data.

kCTFontFormatOpenTypeTrueType

The font is an OpenType format containing TrueType data.

kCTFontFormatTrueType

The font is a recognized TrueType format.

kCTFontFormatPostScript

The font is a recognized PostScript format.

kCTFontFormatBitmap

The font is a bitmap-only format.

See Also

Accessing Font Attributes

Font Attributes

The keys for accessing font attributes from a font descriptor.

CTFontOrientation

The intended rendering orientation of the font for obtaining glyph metrics.

CTFontPriority

The priority of font descriptors when resolving duplicates and sorting match results.