Skip to content

fontlabapp.studios.spacing_studio.session · declarations 001

Back to fontlabapp.studios.spacing_studio.session

X_HEIGHT_FALLBACK module-attribute

X_HEIGHT_FALLBACK

edges

edges(layer: Any) -> tuple[float, float] | None

The ink's left and right edge of a native layer, or None when it has no outline.

has_metrics_link(layer: Any) -> bool

italic_edges

italic_edges(layer: Any, angle: float, pivot: float) -> tuple[float, float] | None

De-slanted ink edges: the outline with component transforms, sheared upright around pivot.

shift_and_set

shift_and_set(layer: Any, plan: Plan) -> None

Move the layer's outline, components and anchors by plan.dx, then set its advance.