Skip to content

fontlabapp.fontui.model · declarations 001

Back to fontlabapp.fontui.model

outline

outline(font, name)

Decompose affine components before drawing; reject broken graphs explicitly.

partition_paths

partition_paths(recording: Iterable[tuple]) -> tuple[tuple, tuple]

Keep open contours out of fill paths; Qt otherwise closes them to fill.

viewport

viewport(bounds, advance, descender, ascender, width, height, zoom=1)

Uniform fit including advance and font metrics; screen y points down.