fontlabapp.contours.near_miss.model
model
Complete Close But No Cigar diagnostics, adapted from Simon Cozens; see NOTICE.
Keep strict ±2 degree/position and ±5% length tests, exact exclusions, duplicate stem/metric reports, occurrence order and glyphmonkey's open-path wrap. Repair its cubic angle method/property mismatch; retain its sub-one sampling endpoint.
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 |
|---|---|---|---|
findings |
function | (rows: tuple[Glyph, ...], deadline: float | None=None) -> tuple[Finding, ...] |
Report all segment checks followed by all six node checks per path. |
measure |
function | (points: tuple) -> tuple[float, float] |
Use endpoint angle and line chord or original 50-step cubic length. |
number |
function | (value: Any) -> float |
Refuse unreadable/nonfinite values instead of silently dropping checks. |
render |
function | (rows: tuple[Glyph, ...]) -> str |
Render a complete selectable report without touching the Output panel. |
segment_findings |
function | (angle: float, length: float, horizontal: tuple, vertical: tuple) -> tuple |
Keep exact stem suppression before orientation/relative comparisons. |
segments |
function | (nodes: tuple[Node, ...]) -> tuple |
Preserve glyphmonkey's last-to-first start even for open paths. |
show |
function | () -> Any |
Open the shared owned Refresh/Close snapshot panel lazily. |