---
title: "CTFontCopyFamilyName(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontcopyfamilyname(_:)"
---

# CTFontCopyFamilyName(_:)

Returns the family name of the given font.

## Declaration

```swift
func CTFontCopyFamilyName(_ font: CTFont) -> CFString
```

## Parameters

- `font`: The font reference.

## Return Value

Return Value A retained reference to the family name of the font.

## See Also

### Getting Font Names

- [CTFontCopyPostScriptName(_:)](coretext/ctfontcopypostscriptname(_:).md)
- [CTFontCopyFullName(_:)](coretext/ctfontcopyfullname(_:).md)
- [CTFontCopyDisplayName(_:)](coretext/ctfontcopydisplayname(_:).md)
- [CTFontCopyName(_:_:)](coretext/ctfontcopyname(_:_:).md)
- [CTFontCopyLocalizedName(_:_:_:)](coretext/ctfontcopylocalizedname(_:_:_:).md)
