fontlabapp.proof.context · declarations 001
Back to fontlabapp.proof.context
Mode
module-attribute
Mode
proof_lines
proof_lines(mode: Mode, names: tuple[str, ...], *, deadline: float | None = None) -> tuple[tuple[str, ...], ...]
Build source-exact rows; keep names explicit even when unencoded.
Between modes append a selected name before each context name and once after it, then two newlines per selected occurrence. Surround modes emit context + selected name repeatedly and end with one final context. With no selection, between opens an empty tab and surround retains its context. A supplied host deadline is checked while building every occurrence.
run
run(mode: Mode) -> None
Capture actual ordered selected layers and open a new named-glyph tab.
One two-second deadline covers captures, generation, symbols and native preflight. No sorting, deduplication, current-glyph fallback or existing-tab rewrite. Native calls are not preemptible; installed native acceptance is open.