fontlabapp.studios.kerning_studio.session
session
Kerning Studio state: per-master reads and per-master kerning writes.
What: Studio takes one snapshot of every master's pairs and classes from
the live package (fontlabapp.fontui.kerning_snapshot; reading changes
nothing) and keeps the master the preview shows. Every write is one
fontlabapp.fontui.write_kerning call: {master: {pair: value or None}}
on any masters, one "Kerning Studio: <action> <pair>" Undo step, checked
against the snapshot it was planned from and read back (Issue 235 §1.3/§1.4).
Why: The selected (preview) master is the write target; "Delete pair on all
masters" and the per-master grid write several masters in one step, as the
Scriptmix scripts did. Only changed masters are range-checked (Scriptmix TODO:80).
Used by the four tab modules in fontlabapp.studios.kerning_studio.tabs.
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 |
|---|---|---|---|
Edits |
attribute | ||
NO_FONT |
attribute | (shared captured text) | |
ROLES |
attribute | ||
WRITE_ERRORS |
attribute | ||
pair_text |
function | (left: str, right: str) -> str |
|
record |
function | (glyph: Any) -> list[tuple[str, tuple]] |
The glyph's outline as pen operations, components decomposed. |