Skip to content

fontlabapp.kerning.identity · declarations 001

Back to fontlabapp.kerning.identity

Mode module-attribute

Mode

NativeSide module-attribute

NativeSide

Pair module-attribute

Pair

Side module-attribute

Side

native_side

native_side(side: Side) -> NativeSide

Decode legacy @notation or validate an explicit native side unchanged.

pair_key

pair_key(pair: Pair, *, typed: bool) -> Pair

Canonicalize either public input form to the snapshot's representation.

read_pairs

read_pairs(package: Any, master: str, *, typed: bool = False) -> dict[Pair, float]

Read every explicit pair; refuse lossy legacy encoding before returning it.