fontlabapp.studios.kerning_batch.rounding
rounding
Kerning Batch Round tab: Scriptmix Round Values ("Round Kerning"), plus the value-plan panel Scale shares.
What: snap every explicit pair on the current master (default) or all
masters to a step (2–100, default 5 units); halves round away from zero.
"Delete pairs that round to 0" (on by default) deletes them, including an
existing explicit zero; off keeps 0 as an explicit pair. The plan is the
shared kerning.edit.model.round_plan rule (plan_values over the
snapshot the table shows). The table lists every
change (Pair, Master, Value, New value); Apply writes exactly that set as one
Kerning Batch: Round kerning on <masters> Undo step.
Used by fontlabapp.studios.kerning_batch (tab builder).
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 |
|---|---|---|---|
TITLE |
attribute | ||
value_rows |
function | (changes: dict) -> tuple[dict, list[tuple]] |
Edits <code>{master: {pair: new or None}}</code> and table rows (sorted by pair per master) from a plan. |
value_status |
function | (changes: dict) -> str |
The originals' count line: <code>"3 pairs change (Regular 2 · Bold 1)"</code><code> or </code><code>"Nothing to change"</code>. |