Skip to content

fontlabapp.studios.proof_studio.generators.Proof

Proof dataclass

One parts entry per new FontLab Glyph tab the generator opens, in order.

Each part is the exact text the studio copies. preview is the same text as one TMetrics line (newlines become spaces) unless previews gives the TMetrics text per part. labels name the parts in the part picker; sizes/layers give each part's TMetrics size and layer (master) and kerning the kerning toggle; empty means the TMetrics defaults (72 px, default layer). note is shown in the status line. canvas is the content for the generator's stacked proof view (Generator.canvas): (glyph names, sizes, master) for WaterfallView, (glyph names, size) for MasterRows; missing glyphs are None.

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
canvas attribute tuple[Any, ...]
kerning attribute bool (shared captured text)
labels attribute tuple[str, ...]
layers attribute tuple[str, ...]
note attribute str (shared captured text)
parts attribute tuple[str, ...]
preview function (self, index: int) -> str Part <code>index</code> as a single TMetrics text line; empty when out of range.
previews attribute tuple[str, ...]
sizes attribute tuple[float, ...]
view function (self, index: int) -> tuple[float, str | None, bool] <code>(size, layer, kerning)</code><code> for previewing part </code><code>index</code> (defaults: 72 px, None, on).