Skip to content

fontlabapp.metrics.zones.editor.Backend

Backend dataclass

Required callbacks; each owns its native deadline and preservation checks.

capture raises on no font. check rejects changed/closed source/domain/metadata. bounds returns positive-height o/O extents (None for missing/flat layers). apply owns one complete history batch and returns a verified new baseline. No callback has a default or a placeholder implementation.

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
apply attribute Callable[[Snapshot, tuple[Change, ...]], Snapshot]
bounds attribute Callable[[Snapshot, str], tuple[Extent, Extent]]
capture attribute Callable[[], Snapshot]
check attribute Callable[[Snapshot], None]