fontlabapp.fontui.outline_order
outline_order
Exact direction and start-point strategies moved from Scriptmix into App.
Uses native midpoint containment, cross-shape ambiguity holds and original raw-Smooth save-risk advice. Original implementations: FontLab samples, Apache-2.0; Scriptmix immutable provenance remains unchanged.
Classes
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 |
|---|---|---|---|
bottom_left |
function | (points: list[outline_writer.Point]) -> int | None |
Index of the lowest, then leftmost on-curve point; None if there is none. |
direction_changes |
function | (layer: Any) -> list[outline_writer.Change] |
Use same-shape direction; keep cross-shape parity conflicts with a note. |
final_smooth_points |
function | (contours: list[Any]) -> set[tuple[float, float]] |
Coordinates of existing final off-curves with raw Smooth; read only. |
own_contours |
function | (layer: Any) -> tuple[list[Any], list[str]] |
Contours of the editable shapes, in layer order, and notes for kept shapes. |
start_changes |
function | (layer: Any, reference: Any | None) -> list[outline_writer.Change] |
One row per closed contour whose start moves; notes for kept shapes. |
wrong_contours |
function | (contours: list[tuple[Any, Any]]) -> list[int] |
Use FontLab's start-and-midpoint nesting rule, in glyph coordinates. |