Skip to content

fontlabapp.studios.kerning_studio.selected_steal · declarations 001

Back to fontlabapp.studios.kerning_studio.selected_steal

TITLE module-attribute

TITLE

default_height

default_height(package: Any) -> float

Use half the shown master's x-height, falling back to the current master.

extents

extents(layer: Any, height: float, *, glyph_name: str = '', notices: list[str] | None = None) -> tuple[float, float]

Find the leftmost/rightmost scanline crossings of the decomposed outline.

masters module-attribute

masters

plan

plan(height: float, expected_id: int | None = None) -> dict

Read four selected slots, their outline gaps and the complete kerning snapshot.

quadratic_cubics

quadratic_cubics(points: list[Point]) -> list[Point]

Elevate quadratic spans, including implied on-curves, before flattening.

run

run(height: float) -> dict

Measure and apply a live four-slot pair action without opening a panel.

target_key

target_key(groups: dict, records: dict, left: str, right: str) -> tuple

Keep the most specific existing exception; otherwise use native side groups.

write

write(preview: dict) -> dict

Re-measure before writing; refuse stale selection, outlines or kerning.