Skip to content

fontlabapp.studios.derived_glyphs.sups_subs

sups_subs

Sups & subs tab: Scripts/Contours/Superior & Inferior Figures.py in host mode.

One .sups or .subs copy per selected figure (zero-nine), scaled by Scale 60 % (10-100 %) about the origin and shifted by Vertical shift (-1000..1000 units; preset 350 for Superior, -150 for Inferior; choosing a kind takes its preset). Names that are not figures or are sized already (sups, subs, sinf, numr, dnom) are skipped, as are repeated, missing and existing targets and auto/composite/empty sources. The rebuild consent and Use selection behave as in the original. The pure functions below are the original's, verbatim (only their local fly imports are module names here).

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
FIGURES attribute (shared captured text)
KINDS attribute (shared captured text)
SIZED attribute (shared captured text)
contour_copy attribute (shared captured text)
glyph_copies attribute (shared captured text)
naming_for function (suffix: str) -> Any Return the naming function for <code>suffix</code> (".sups" or ".subs").
prepare function (rows: Sequence[Any], scale: int, shift: int) -> list[Any] Return the jobs: copies scaled by <code>scale</code> percent about the origin, then shifted up.
qt attribute (shared captured text)
survey function (package: Any, names: Sequence[str], facts: Any, suffix: str='.sups', allow_rebuild: bool=False) -> list[Any] Plan one sized copy per selected figure.