# `GSMetric.font`

*Instance Property*

access to the containing font

## Declaration

```swift
weak var font: (any GSContainerProtocol)? { get set }
```

```objc
@property (nonatomic, weak) GSContainer * font;
```

[See also `font` in the Python API](https://docu.glyphsapp.com/#GSMetric.font)

```python
pyobjc_instanceMethods.font() -> GSContainer
pyobjc_instanceMethods.setFont_(font: GSContainer)
```

