fontlabapp.studios.outline_doctor.reports
reports
Outline Doctor read-only reports: Open Contours, Close But No Cigar, Dangerous Offcurves.
What: three planners that return Issue rows with no edit. Open Contours
lists every open contour with its node count and end gap; Close But No Cigar
(after Simon Cozens' glyphmonkey script, MIT) lists angles within 2° of
horizontal or vertical, segment lengths within 5 % of a master stem and nodes
within 2 units of zero or a vertical metric; Dangerous Offcurves lists cubic
handles closer than 0.05 units to their own curve on all four axis probes.
Why: they are the Scan tab's whole-font and selection reports; they never write.
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 |
|---|---|---|---|
ANGLE |
attribute | ||
COMPOSITE_ERROR |
attribute | ||
METRIC |
attribute | ||
PROBE |
attribute | ||
STEM |
attribute | ||
STEPS |
attribute | ||
THRESHOLD |
attribute | (shared captured text) | |
TT_ERROR |
attribute | ||
axis_hits |
function | (curve: tuple, control: tuple, axis: int) -> tuple |
|
curves |
function | (path: list[tuple[float, float, bool]]) -> list[tuple[tuple, int]] |
First-offcurve windows with the original unconditional neighbour wrap. |
dangerous |
function | (curve: tuple, threshold: float=THRESHOLD) -> bool |
|
measure |
function | (points: tuple) -> tuple[float, float] |
Endpoint angle and line chord or the original 50-step cubic length. |
own_paths |
function | (layer: Any) -> list[tuple[int, list[tuple[float, float, bool]], bool]] |
(contour number, glyph-space (x, y, off) nodes, closed) of every own contour. |
plan_dangerous |
function | (layer: Any, options: Mapping[str, Any], context: Context) -> list[Issue] |
|
plan_near |
function | (layer: Any, options: Mapping[str, Any], context: Context) -> list[Issue] |
|
plan_open |
function | (layer: Any, options: Mapping[str, Any], context: Context) -> list[Issue] |
|
segment_findings |
function | (angle: float, length: float, horizontal: tuple, vertical: tuple) -> list[tuple] |
|
segments |
function | (nodes: list[tuple[float, float, bool]]) -> list[tuple] |
Glyphmonkey's segments: the first starts at the last node, even for open paths. |