Skip to content

fontlabapp.contours.dangerous_offcurves.model · declarations 001

Back to fontlabapp.contours.dangerous_offcurves.model

Curve module-attribute

Curve

KEY module-attribute

KEY

PROBE module-attribute

PROBE

THRESHOLD module-attribute

THRESHOLD

analyse

analyse(layers: tuple[Layer, ...], threshold: float = THRESHOLD, *, deadline: float = float('inf')) -> Report

Scan every original candidate and keep layer identity order without repeats.

axis_hits

axis_hits(curve: Curve, control: Point, axis: int, *, deadline: float = float('inf')) -> tuple

Return analytic finite-probe hits in deterministic ascending curve time.

fontTools can return hits outside the supplied line's parameter domain; filter t2 explicitly. Coincident-axis projections return its empty root set. Numeric solver errors retain the source helper's no-intersection outcome.

check

check(deadline: float) -> None

Check one absolute budget; never return a partial font prefix.

curves

curves(path: tuple[Node, ...], *, deadline: float = float('inf')) -> tuple[Curve, ...]

Reproduce first-offcurve windows and Glyphs' unconditional neighbour wrap.

This retains the source's four-point call even for quadratic/malformed neighbourhoods; it does not silently reinterpret or discard such windows.

dangerous

dangerous(curve: Curve, threshold: float = THRESHOLD, *, deadline: float = float('inf')) -> bool

Keep all-four-hit gating and any strict componentwise distance test.

render

render(report: Report) -> str

Keep original finding rows or the complete no-problem diagnosis.

show

show() -> Any

Run the full real-tab workflow and retain its complete owned result text.