Enumeration
GSFormatVersion
A version of the Glyphs source format.
Declaration
enum GSFormatVersionDeclaration
enum GSFormatVersion : uint8_t;Declaration
GSFormatVersionOverview
The format version controls how model data is read and written. Use currentGSFormatVersionCurrentGSFormatVersionCurrent unless the output must remain compatible with an earlier version of Glyphs. Earlier formats cannot represent all current model data.
Versions of the Glyphs source format.
Overview
A format version identifies the serialization rules used when reading or writing Glyphs model data. It does not describe the in-memory model or whether a font is stored as a single file or a package.
Use currentGSFormatVersionCurrentGSFormatVersionCurrent when backward compatibility is not required. Writing an earlier format can fail when model data requires features introduced by a newer format. Glyphs 1 and Glyphs 2 share format version 1, so there is no format version 2.
Topics
Format Versions
The source format used by Glyphs 1 and Glyphs 2.
The source format introduced by Glyphs 3.
The source format introduced by Glyphs 4.
The most recent source format supported by the framework.
Validation
Whether a value identifies a supported source format.
A supported source format, or current when the value is not supported.
Initializers
Default Implementations
Topics
Format Versions
The source format used by Glyphs 1 and Glyphs 2.
The source format introduced by Glyphs 3.
The source format introduced by Glyphs 4.
The most recent source format supported by the framework.
Validation
Whether a value identifies a supported source format.
A supported source format, or GSFormatVersionCurrentGSFormatVersionCurrent when the value is not supported.
Relationships
Conforms To
Swift.BitwiseCopyableSwift.EquatableSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype