Skip to content

fontlabapp.plugins.snapshot.Metrics

Metrics dataclass

Owner-master metrics; italic_slant is positive when the top leans right.

zones stay empty when the shown layer belongs to another master; italic_slant stays the current master's. Both need a paint-unsafe master switch to read per master (FontMetrics has neither).

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
ascender attribute float (shared captured text)
cap_height attribute float (shared captured text)
descender attribute float (shared captured text)
italic_slant attribute float (shared captured text)
upm attribute float (shared captured text)
x_height attribute float (shared captured text)
zones attribute tuple[Zone, ...] (shared captured text)