---
title: "CTFontGetSize(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontgetsize(_:)"
---

# CTFontGetSize(_:)

Returns the point size of the given font.

## Declaration

```swift
func CTFontGetSize(_ font: CTFont) -> CGFloat
```

## Parameters

- `font`: The font reference.

## Return Value

Return Value The point size of the given font reference. This is the point size provided when the font was created.

## See Also

### Getting Font Data

- [CTFontCopyFontDescriptor(_:)](coretext/ctfontcopyfontdescriptor(_:).md)
- [CTFontCopyAttribute(_:_:)](coretext/ctfontcopyattribute(_:_:).md)
- [CTFontGetMatrix(_:)](coretext/ctfontgetmatrix(_:).md)
- [CTFontGetSymbolicTraits(_:)](coretext/ctfontgetsymbolictraits(_:).md)
- [CTFontCopyTraits(_:)](coretext/ctfontcopytraits(_:).md)
- [CTFontCopyDefaultCascadeListForLanguages(_:_:)](coretext/ctfontcopydefaultcascadelistforlanguages(_:_:).md)
