Contents

CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)

Retrieves an array of font descriptors that match the specified family, one descriptor for each style in the collection.

Declaration

func CTFontCollectionCreateMatchingFontDescriptorsForFamily(_ collection: CTFontCollection, _ familyName: CFString, _ options: CFDictionary?) -> CFArray?

Parameters

  • collection:

    The font collection reference.

  • familyName:

    The font family name.

  • options:

    The options dictionary.

Return Value

An array of CTFontDescriptor objects that match the specified family in the collection, or NULL if there are none.

See Also

Getting Font Descriptors