fontlabapp.studios.layer_manager._duplicate · declarations 001
Back to fontlabapp.studios.layer_manager._duplicate
DEADLINE_SECONDS
module-attribute
DEADLINE_SECONDS
KEY
module-attribute
KEY
SCOPES
module-attribute
SCOPES
TITLE
module-attribute
TITLE
backup_master
backup_master(name: str, masters: Sequence[str]) -> str | None
Resolve backup layers through the shared App rule.
backup_name
backup_name(base: str, taken: Collection[str], stamp: str, masters: Sequence[str]) -> str
Return the shared unique plain backup name, or raise ValueError.
backups_of
backups_of(glyph: Any, masters: Sequence[str]) -> list[str]
Inventory plain space-prefixed and old @ backups, excluding special layers.
contour_copy
module-attribute
contour_copy
duplicate
duplicate(tool: Any, package: Any, jobs: Sequence[tuple[Any, Any, str]], title: str = TITLE) -> dict[str, Any] | None
Clone each layer, name the clone, add it to its glyph. ONE Undo step (the original's duplicate).
The original's checks, mutate and read-back, with package the bound
font instead of current_package(); the step goes through
tool.shell.history with no target layers. None when refused.
masters_api
module-attribute
masters_api
plan_rows
plan_rows(package: Any, names: Sequence[str], masters: Sequence[str], suffix: str, facts: Any) -> list[Any]
The original BackupPanel.plan_rows: (glyph, layer or None, name, note) per row.