Type Alias

NSFontCollectionMatchingOptionKey

These constants are used by the matchingDescriptorsWithOptions: and matchingDescriptorsForFamily:options: options dictionary parameters.

Declaration

typedef NSString *NSFontCollectionMatchingOptionKey;

Topics

Type Properties

NSFontCollectionIncludeDisabledFontsOption

An NSNumber object containing a Boolean value specifying whether disabled fonts should be included in the list of matching descriptors; YES if they should be included, NO otherwise.. When unspecified, CoreText assumes NO. This option is intended only for font management applications. This option will make descriptor matching slower.

NSFontCollectionRemoveDuplicatesOption

An NSNumber object containing a Boolean value controlling whether more than one copy of a font with the same PostScript name should be included in the list of matching descriptors.

NSFontCollectionDisallowAutoActivationOption

An NSNumber object containing a Boolean value specifying that auto-activation should not be used to find missing fonts.

See Also

Font Collection Descriptor Matching

matchingDescriptors

An array of font descriptors matching the logical descriptors.

- matchingDescriptorsForFamily:

Returns an array of font descriptors matching the logical descriptors for the given font family.

- matchingDescriptorsForFamily:options:

Returns an array of font descriptors matching the logical descriptors for the given font family and options.

- matchingDescriptorsWithOptions:

Returns an array of font descriptors matching the logical descriptors with the given options.

queryDescriptors

An array of font descriptors whose matching results produce the collection’s matching descriptors.

exclusionDescriptors

A list of query font descriptors whose matching results are excluded from the list of matching descriptors.