fontlabapp.core.outline · declarations 001
Back to fontlabapp.core.outline
font_info
font_info(package: Any, *, fontpr: Any = None) -> dict[str, Any]
fontpr get_font_info for package (read-only; ValueError when unreadable).
master_measures
master_measures(data: dict[str, Any], master: str) -> tuple[tuple[float, ...], tuple[float, ...], tuple[float, ...]]
(ascender, cap height, x height, descender), horizontal and vertical stems of master.
Reads the fontMaster record whose name matches master (before any
:/#/@ suffix) in font_info data, as Close But No Cigar did.
merged_copy
merged_copy(shape: Any, *, fontgate: Any = None) -> Any
A detached fgShape copy of shape with overlaps removed (no write).
node_counts
node_counts(copy: Any) -> tuple[int, ...]
Sorted node counts of every contour of a FontGate copy.