# `GSInstance fontName:`

*Instance Method*

Returns the font name.

## Declaration

```swift
func fontName(_ error: NSErrorPointer) -> String
```

```objc
- (NSString *) fontName:(NSError **) error;
```

```python
fontName_() -> tuple[str, NSError]
```

## Parameters

- `error` — A pointer to an NSError object to store any error that occurs.

## Return Value

The font name.

