Skip to content

fontlabapp.kerning.group_proof.model · declarations 001

Back to fontlabapp.kerning.group_proof.model

build

build(glyphs: tuple[GlyphGroups, ...], current_id: int) -> Proof

Keep every peer in font order, excluding only the current identity.

A missing group contributes the source's blank row. A nonempty singleton group contributes no peer row. Every opened proof ends with a newline. Repeated names are retained; name/Unicode parsing is never used here.

run

run() -> Proof | None

Read/recheck the source and open a fresh proof; never rewrite a tab.

Diagnose absent selection or no peers using an owned message box. The source singleton condition is retained, with accurate no-other-members wording. Native calls cannot be preempted. Native UI/cache/history qualification is pending; tab creation/population failures may leave a new tab.