Skip to content

fontlabapp.fontui.outline_routes.slant · declarations 001

Back to fontlabapp.fontui.outline_routes.slant

KEY module-attribute

KEY

PIVOTS module-attribute

PIVOTS

TITLE module-attribute

TITLE

italic_angle

italic_angle(package: Any) -> float

The current master’s italic angle in degrees (FontLab: negative leans right).

main

main() -> Any

Open the panel, or replace the one that is already open.

pivot

pivot(package: Any, master: str, choice: int) -> float

Y of the slant pivot: the baseline (0), or half the master's x-height.

slant_matrix

slant_matrix(angle: float, pivot_y: float) -> Affine

x' = x + tan(angle) (y - pivot_y); y' = y. Positive angles lean right.