Skip to content

fontlabapp.fontui.tmetrics_model.Metrics · declarations 001

Back to fontlabapp.fontui.tmetrics_model.Metrics

ascender class-attribute instance-attribute

ascender: float | None

bottom property

bottom: float

Row bottom (negative): the descender, or -20% of the em.

cap_height class-attribute instance-attribute

cap_height: float | None

descender class-attribute instance-attribute

descender: float | None

lines

lines() -> list[tuple[str, float]]

Return the known guide lines as (label, y), baseline first.

top property

top: float

Row top above the baseline: the ascender, or 80% of the em.

upm class-attribute instance-attribute

upm: float

x_height class-attribute instance-attribute

x_height: float | None