Skip to content

fontlab_fontport.designspace.Designspace

Designspace

Continuous-axis inspection; selection does not interpolate or mutate fonts.

Coordinates exposed to controls are user coordinates. Upstream axis maps convert source design locations. Discrete axes, anisotropic locations and multi-axis mappings are explicitly unavailable in this bounded adapter.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, document: DesignSpaceDocument, *, native: bool=False) -> None
defaults function (self) -> dict[str, float]
document attribute (self) -> DesignSpaceDocument A private copy of the document, safe to hand to a writer.
from_native function (cls, backend) -> 'Designspace' Snapshot registered package axes, master locations and instances.
instance function (self, values: Mapping[str, float], name: str='Instance') -> Location
location function (self, values: Mapping[str, float]) -> dict[str, float]
open function (cls, path: str | Path) -> 'Designspace'