Skip to content

fontlab_fontport.kerning_edit · declarations 001

Back to fontlab_fontport.kerning_edit

edit_kerning

edit_kerning(pairs: Mapping, action: str, pair: Pair, value: Any = None, *, groups: Mapping, glyphs: Iterable[str]) -> dict[Pair, int | float]

Stage Apply/Delete; only Apply requires existing glyph or group keys.

inspect_kerning

inspect_kerning(pairs: Mapping, groups: Mapping, pair: Pair) -> dict[str, Any]

Keep explicit presence/value separate from upstream effective fallback.