Skip to content

fontlabapp.fonts.identity_tools.font_identity.version

version

Bump the numeric version and version name; optionally append a dated font note.

What it does: Open with a font active. Choose a major or minor bump and optional dated notes, review the field changes, then choose Apply. Minor 999 carries into the major. Version fields are global; notes are appended to each master's existing note. The edit is undoable. Reopen the panel after switching fonts.

How it works: Plan a bounded numeric version and matching version name. Optionally append a dated note to every master's existing note; keep the fields staged until Apply.

Why this design: Version naming and numeric metadata must agree, while an optional history note must not replace existing master notes.

How to use: Run Font Info > Bump Font Version. Choose major or minor and the dated- note option, inspect all proposed changes and press Apply once for the intended increment.

Benefit: Update related version metadata together and retain the previous note content.

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
FontInfoDialog attribute (shared captured text)
KEY attribute
LABELS attribute
QtCore attribute (shared captured text)
QtGui attribute (shared captured text)
TITLE attribute
bumped function (major: int, minor: int, mode: str) -> tuple[int, int] Calculate a bounded integer version, carrying the minor at 999.
fontlab attribute (shared captured text)
main function () -> Any Replace this tool's owned dialog using the shared script registry. (shared captured text)
panel_type function () -> type Add studio sorting and keyboard access without changing the retained action API. (shared captured text)
qt attribute (shared captured text)
run function (package: Any, mode: Any, dated: Any, day: Any) -> Any Build and apply one numeric-version, naming and optional-note plan.
version_plan function (package: Any, mode: Any, dated: Any, day: Any) -> Any Plan numeric version, naming and optional notes across masters.
write_changes function (package: Any, changes: list[tuple]) -> dict[str, int] Apply this tool's explicit validated metadata plan using shared history. (shared captured text)