API Collection
GSLayer Import/Export
Encoding and decoding for layer data.
Overview
Glyphs file serialization depends on a format version. Encoding can fail when layer content cannot be represented by the requested version.
Topics
Encoding
A property-list representation for the specified Glyphs file format version.
Writes the layer in the specified Glyphs file format.
An attribute representation for the specified Glyphs file format version.
Values deferred until the layer can complete format-dependent decoding.
Stores a value for format-dependent decoding after the layer hierarchy is available.
Completes format-dependent decoding after the layer has been attached to its object hierarchy.
Encodes layer elements as Glyphs property-list data.
Importing Outlines
Whether a file name identifies a supported outline format.
Whether a file URL identifies a supported outline format.
Imports outlines and adds them to the layer.
Scales the layer contents to the vertical span of the glyph metrics.
Export Preparation
A PostScript autohinting font-info representation of a font master.
Creates missing Intermediate layers required by component Intermediate layers.
Creates missing Intermediate layers required within an axis range.
See Also
The different roles that a layer can serve.
The paths and components that form the outline of a layer.
Bounding rectangles of outlines, selections, and metrics.
Side bearings, baseline offsets, layer box, and metrics keys.
Setting for rounding coordinates on a layer.
Background content and reference images associated with a layer.
Named attachment points on a layer.
Manual and generated hint data on a layer.
Layer-local guides used while editing outlines.
Spacing adjustment between specific layers.
Layer-local notes displayed with a glyph.
Axis coordinates and rules that place layers in a design space.
Colors used to draw a layer.
Additional values stored for a layer.
Intersections between layer outlines and line segments.