Skip to content

fontlabapp.fontui.superaligner · declarations 001

Back to fontlabapp.fontui.superaligner

KEY module-attribute

KEY

TITLE module-attribute

TITLE

alignment

alignment(reference: list[Point], candidate: list[Point]) -> tuple[bool, int]

Choose the unique nearest geometry among both cyclic point-type orders.

changes

changes(glyph: Any, master: str, layer: Any, masters: list[str]) -> list[Change]

Keep a whole unsuitable glyph while other glyphs remain writable.

normalized

normalized(points: list[Point]) -> list[tuple[float, float]]

Remove translation and axis scale before comparing master geometry.

plan_content

plan_content(glyph: Any, master: str, layer: Any, reference: str) -> list[Change]

Match contour order to the first declared master; refuse incomplete pairs.