Skip to content

fontlabapp.glyphs.identity_tools.character_consistency.case_pairs · declarations 001

Back to fontlabapp.glyphs.identity_tools.character_consistency.case_pairs

KEY module-attribute

KEY

TITLE module-attribute

TITLE

counterpart

counterpart(name: str, codes_of: dict[str, list[int]], by_code: dict[int, str]) -> tuple[str | None, str]

(counterpart name or None, how) for one glyph name.

font_glyphs

font_glyphs() -> list[tuple[str, list[int]]]

Read current font state through the shared Names access helper.

index

index(glyphs: list[tuple[str, list[int]]]) -> tuple[dict[str, list[int]], dict[int, str]]

(codes by name, first glyph by code) for fast lookups.

main

main() -> Any

Open or replace this owned modeless Names panel.

muted module-attribute

muted

selected_names

selected_names() -> list[str]

Read current font state through the shared Names access helper.

swap_case

swap_case(char: str) -> str

The single-character case counterpart, or "" (ß -> SS has no single counterpart).