Skip to content

fontlabapp.fontui.transform_view · declarations 001

Back to fontlabapp.fontui.transform_view

MATRIX module-attribute

MATRIX

UNAVAILABLE module-attribute

UNAVAILABLE

build

build(owner: Any) -> None

Create owned controls; Fontport validates every recipe value.

exact_text

exact_text(value: float) -> str

Shortest text that parses back to the same number (repr round-trips).

paint

paint(owner: Any, canvas: Any) -> None

Draw the result, and the original on top if Compare is on.

The body is wrapped in try/except and the painter always ends in finally: an exception that leaves a paint event with an active QPainter crashes FontLab.

record

record(font: Any, glyph: Any) -> Outline

Decompose components against the source font; never edits either glyph.