Skip to content

fontlabapp.plugins.snapshot.GlyphSnapshot

GlyphSnapshot dataclass

Read-only data needed by reporter computations.

others maps each requested glyph name that exists in the owner master to that layer's own unselected contours (components skipped), cached per requested glyph's own revision. Mapping fields are left out of the hash, so snapshots stay hashable (equal snapshots still hash equal).

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
advance attribute float (shared captured text)
anchors attribute tuple[Anchor, ...] (shared captured text)
background attribute tuple[Contour, ...] | None
bounds attribute tuple[float, float, float, float] | None (shared captured text)
components attribute tuple[Component, ...] (shared captured text)
contours attribute tuple[Contour, ...] (shared captured text)
identity attribute Identity | None
kerning_groups attribute KerningGroups | None
masters attribute tuple[MasterOutline, ...]
metrics attribute Metrics (shared captured text)
others attribute Mapping[str, tuple[Contour, ...]]
source_key attribute tuple[int, int, int, str] | None
view attribute ViewState | None