Skip to content

fontlabapp.studios.derived_glyphs._shared

_shared

Pieces every Derived Glyphs tab shares: backends, the Undo title and the plan panel.

PlanPanel is the host-mode form of the originals' SelectionPanel / CopiesPanel: controls, a sortable GlyphTable dry run, the rebuild consent where the original has one, a status line and one explicit Apply button. A row choice shows the source (and the target, when it exists) in the read-only TMetrics preview. Nothing is written on open, on a control change or on a row choice. Apply scans the font again, re-plans, refuses a plan that differs from the list on screen (STALE), then runs the original's App writer with label(action, names) as its title.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
APP attribute (shared captured text)
MAX_ROWS attribute (shared captured text)
SHOWN_NAMES attribute (shared captured text)
STALE attribute
backends function () -> Any The reused App backends (tests replace this).
label function (action: str, names: Iterable[str]) -> str <code>&quot;Derived Glyphs: &lt;action&gt; &lt;subject&gt;&quot;</code>.
plural function (count: int, word: str) -> str '1 glyph', '2 glyphs'.
result_note function (text: str, result: dict[str, Any]) -> str The originals' result tail: first five read-back mismatches, then the pending note.
subject function (names: Iterable[str]) -> str Undo-title subject: the glyph name, or <code>&quot;N glyphs&quot;</code> for several.