Skip to content

fontlabapp.studios.kerning_browser.pairs · declarations 001

Back to fontlabapp.studios.kerning_browser.pairs

TITLE module-attribute

TITLE

export_csv

export_csv(rows: list[tuple[str, str, float]], master: str, path: str | Path) -> int

Write left,right,value,master rows; returns the number of pairs written.

filtered

filtered(pairs: dict[tuple[str, str], float], text: str) -> list[tuple[str, str, float]]

Return matching explicit pairs in stable name order.

matches

matches(pair: tuple[str, str], text: str) -> bool

Filter rule: substring of either side; '=name' must equal a whole side.