Skip to content

fontlabapp.fontui.transform.TransformEditor

TransformEditor

Fontport builds and validates the recipe and transformed copy.

The source font is never modified: compare, reset and zoom only change the view. Settings are written only by save_settings(path) to an explicit path.

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • connect — defined by fontlabapp.fontui.lifecycle.Owned.connect

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
__init__ function (self, font: Any, name: str | None=None, parent: Any=None, on_change: Callable[[Any, Any], None] | None=None,…
close function (self) -> None
load_settings function (self, path: str) -> None
recipe function (self) -> Recipe Parse fields; Fontport's Recipe rejects invalid or singular matrices.
reset_transform function (self) -> None
reset_view function (self) -> None
save_settings function (self, path: str) -> None
set_zoom function (self, zoom: float) -> None
show_script function (self) -> str
update function (self) -> bool Rebuild the preview.
view function (self, width: float, height: float) -> tuple[float, float, float] Return <code>(scale, x, y)</code> that fits both outlines into the canvas.