Structure

NSFontDescriptor.FeatureKey

The following constants can be used as keys to retrieve information about a font descriptor from its feature dictionary.

Declaration

struct FeatureKey

Overview

These keys are used with featureSettings.

Topics

Feature Keys

static let typeIdentifier: NSFontDescriptor.FeatureKey

An NSNumber object specifying a font feature type such as ligature, character shape, and so on. See “Font Features“ in ATSUI Programming Guide for predefined feature types.

static let selectorIdentifier: NSFontDescriptor.FeatureKey

An NSNumber object specifying a font feature selector such as common ligature off, traditional character shape, and so on. See “Font Features“ in ATSUI Programming Guide for predefined feature selectors.

Relationships