Skip to content

fontlabapp.fontui.outline_routes.remove_overlap · declarations 001

Back to fontlabapp.fontui.outline_routes.remove_overlap

KEY module-attribute

KEY

TITLE module-attribute

TITLE

fontgate_copy

fontgate_copy(shape: Any, merge: bool) -> Any

FontGate copy of the shape; with merge, overlaps removed. The shape stays.

main

main() -> Any

Open the panel, or replace the one that is already open.

node_counts

node_counts(shape: Any) -> tuple[int, ...]

Sorted FontGate node counts of the contours of shape (a FontGate shape).

Both sides of the comparison use FontGate's count, so a different node convention in FontLab cannot fake a change.

overlap_changes

overlap_changes(layer: Any, cache: dict[int, Any] | None = None) -> list[Change]

One row per shape whose merge changes its contours; notes for kept shapes.

Edit: (shape, merged FontGate shape, old start points, contours after). Key: (shape index, contours after, node counts after).

start_points

start_points(shape: Any) -> set[tuple[float, float]]

Positions of the on-curve start nodes of the shape's contours.