Skip to content

fontlabapp.masters.background.clear.model · declarations 001

Back to fontlabapp.masters.background.clear.model

automatic_dependants

automatic_dependants(source: Snapshot, targets: set[str], deadline: float) -> list[str]

Fence transitive automatic dependencies without an unbounded graph walk.

plan

plan(source: Snapshot, masters: bool, deadline: float | None = None) -> tuple[Removal, ...]

Preserve font/layer order; reject unrepresentable relationships prewrite.

A native fallback can share one mask between a master and an auxiliary. Removing that object in master-only mode would clear an excluded background. Unmapped native masks have no original per-layer counterpart; diagnose them rather than silently adopting or leaving them in an all-background action.

show_all

show_all() -> Any

Clear whole backgrounds across all layers of every current-font glyph.

show_masters

show_masters() -> Any

Clear whole backgrounds only on declared master layers, across the font.