Class

NSMutableFontCollection

A mutable collection of font descriptors taken together as a single object.

Declaration

@interface NSMutableFontCollection : NSFontCollection

Overview

You can use this class to modify the search queries for the font descriptors used by the parent NSFontCollection class.

Topics

Creating a Font Collection

+ fontCollectionWithDescriptors:

Creates a mutable font collection containing the fonts that match the specified font descriptors.

+ fontCollectionWithLocale:

Creates a mutable font collection containing fonts suitable for the specified locale.

+ fontCollectionWithName:

Creates a mutable named font collection object.

+ fontCollectionWithName:visibility:

Creates a mutable font collection with the specified name and font visibility.

fontCollectionWithAllAvailableDescriptors

The mutable font collection that matches all registered fonts.

Getting the Font Descriptors

queryDescriptors

The font descriptors to include in query results.

- addQueryForDescriptors:

Edits the query and exclusion arrays by adding the specified font descriptors.

- removeQueryForDescriptors:

Edits the query and exclusion arrays by removing the specified font descriptors.

exclusionDescriptors

The font descriptors to exclude from query results.

Relationships

Inherits From

See Also

Management

NSFontManager

The center of activity for the font-conversion system.

NSFontCollection

A font collection, which is a group of font descriptors taken together as a single object.

NSFontCollectionOptions

Constants that support font collection management.