---
title: "CTFontCollectionCreateFromAvailableFonts(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontcollectioncreatefromavailablefonts(_:)"
---

# CTFontCollectionCreateFromAvailableFonts(_:)

Returns a new font collection containing all available fonts.

## Declaration

```swift
func CTFontCollectionCreateFromAvailableFonts(_ options: CFDictionary?) -> CTFontCollection
```

## Parameters

- `options`: The options dictionary. For possible values, see Constants.

## Return Value

Return Value A new collection containing all fonts available to the current application.

## See Also

### Creating Font Collections

- [CTFontCollectionCreateWithFontDescriptors(_:_:)](coretext/ctfontcollectioncreatewithfontdescriptors(_:_:).md)
- [CTFontCollectionCreateCopyWithFontDescriptors(_:_:_:)](coretext/ctfontcollectioncreatecopywithfontdescriptors(_:_:_:).md)
- [CTFontCollectionCreateMutableCopy(_:)](coretext/ctfontcollectioncreatemutablecopy(_:).md)
