Skip to content

fontlabapp.glyphs.smallcaps.model

model

Analyze detached export, case, counterpart and kerning-group facts.

Reimplements both workflows of mekkablue's Check Smallcap Consistency; the Boolean counterpart test is corrected. Native capture is separate.

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
Case attribute
SC_SUFFIXES attribute
analyze function (glyphs: Iterable[GlyphFact], *, deadline: float=float('inf'), clock: Callable[[], float]=monotonic) -> dict Return deterministic modern and legacy findings in source font order.
check_deadline function (deadline: float, clock: Callable[[], float]) -> None Refuse a partial result when the shared capture/report deadline expires.
legacy_cap_name function (name: str) -> str Capitalize legacy ligature/name roots without destroying alternate suffixes.
strip_sc function (name: str) -> str Remove only complete SC suffix particles, preserving other suffix order.