Skip to content

fontlabapp.kerning.proofs · declarations 001

Back to fontlabapp.kerning.proofs

MODES module-attribute

MODES: tuple[Mode, ...]

Mode module-attribute

Mode

proof_texts

proof_texts(mode: Mode) -> tuple[str, ...]

Read all text for one command before tab creation; never trim or filter.

Preserve literal Unicode, blank lines and named escapes even when a font lacks a requested glyph. FontLab's native advanced text parser resolves /quoteright and /germandbls; doubled slash denotes a literal slash. Resource failures propagate before any native lookup or new tab.

run

run(mode: Mode) -> None

Open every original tab in order, bound to one captured font/master.

Native Glyph tabs are the nonmodal interface. Preserve existing tabs and Output. One two-second preflight deadline covers the complete invocation; native calls cannot be preempted. Shared cleanup restores shape activation and disconnects/deletes each hidden sender. If a later tab fails, earlier new tabs may remain: no atomic UI rollback or native acceptance is claimed.