# `GlyphsCallback fontDidOpen:`

*Instance Method*

This is called when a document is opened.

## Declaration

```swift
func fontDidOpen(_ font: GSFont)
```

```objc
- (void) fontDidOpen:(GSFont *) font;
```

```python
fontDidOpen_(font: GSFont)
```

## Parameters

- `font` — The font object that was opened

## Discussion

Please don’t don’t take too long as this will let the use user wait.

To get to the path, use `font.parent.fileURL`.

