Inherits from NSObject
Declared in DTCoreTextFontCollection.h

Overview

Class representing a collection of fonts

Tasks

Creating Font Collections

Getting Information about Font Collections

Searching for Fonts

Class Methods

availableFontsCollection

Creates a font collection with all available fonts on the system

+ (DTCoreTextFontCollection *)availableFontsCollection

Declared In

DTCoreTextFontCollection.h

Instance Methods

fontDescriptors

The font descriptors describing all fonts in the receiver’s font collection

- (NSArray *)fontDescriptors

Declared In

DTCoreTextFontCollection.h

fontFamilyNames

The font family names that occur in the receiver’s list of fonts

- (NSArray *)fontFamilyNames

Declared In

DTCoreTextFontCollection.h

matchingFontDescriptorForFontDescriptor:

The font descriptor describing a font in the receiver’s collection that matches a given descriptor

- (DTCoreTextFontDescriptor *)matchingFontDescriptorForFontDescriptor:(DTCoreTextFontDescriptor *)descriptor

Parameters

descriptor

The font descriptor to search for

Return Value

The first found font descriptor in the font collection

Declared In

DTCoreTextFontCollection.h