<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontCollectionCreateMatchingFontDescriptorsForFamily"
  },
  "title" : "CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)"
}
-->

# CTFontCollectionCreateMatchingFontDescriptorsForFamily(_:_:_:)

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

```
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`](/documentation/CoreText/CTFontDescriptor) objects that match the specified family in the collection, or `NULL` if there are none.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)