Skip to content

fontlabapp.anchors.coordinates.model · declarations 001

Back to fontlabapp.anchors.coordinates.model

METRICS module-attribute

METRICS

REFERENCES module-attribute

REFERENCES

center_plan

center_plan(layer: Any, names: list[str], reference: str, fraction: float, angle: float) -> list

metric_plan

metric_plan(layer: Any, names: list[str], y: float) -> list

metric_value

metric_value(package: Any, master: str, attribute: str | None) -> int

parse_names

parse_names(text: str) -> list[str]

round_plan

round_plan(layer: Any, step: float, do_x: bool, do_y: bool, names: list[str]) -> list

run_center

run_center(glyphs: list, masters: list[str], names: list[str], reference: str, fraction: float, angle: float, *, package: Any) -> dict

run_metrics

run_metrics(package: Any, glyphs: list, masters: list[str], names: list[str], attribute: str | None, offset: float) -> dict

run_round

run_round(glyphs: list, masters: list[str], step: float, do_x: bool, do_y: bool, names: list[str], *, package: Any) -> dict

snap

snap(value: float, step: float) -> int

Original half-up grid operation, including negative half ties.

target_x

target_x(layer: Any, reference: str, fraction: float, angle: float, y: float) -> float | None

Original slanted advance/ink reference; FontLab's negative angle leans right.