# `GSFont.formatVersion`

*Instance Property*

The Glyphs file format version used to read and write the font.

## Declaration

```swift
var formatVersion: GSFormatVersion { get set }
```

```objc
@property (nonatomic) GSFormatVersion formatVersion;
```

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

```python
pyobjc_instanceMethods.formatVersion() -> GSFormatVersion
pyobjc_instanceMethods.setFormatVersion_(formatVersion: GSFormatVersion)
```

## See Also

### File Format

- [`GSFont.storedFileType`](/Core/GlyphsCore/GSFont/storedFileType) — The package type recorded in serialized font data.
- [`GSFont.appVersion`](/Core/GlyphsCore/GSFont/appVersion) — The Glyphs app version that last wrote the font.
- [`GSFont filterLegacyDefaultProperties:filterKeys:format:`](/Core/GlyphsCore/GSFont/filterLegacyDefaultProperties:filterKeys:format:) — Filters default-language properties that cannot be represented in legacy formats.
- [`GSFont legacyInfoKeys`](/Core/GlyphsCore/GSFont/legacyInfoKeys) — Font info property names used by legacy file formats.

