Skip to content

fontlabapp.studios.derived_glyphs.unicase · declarations 001

Back to fontlabapp.studios.derived_glyphs.unicase

TITLE module-attribute

TITLE

apply_pairs

apply_pairs(package: Any, pairs: list[Pair], *, title: str = TITLE, replace_contours: bool = True, clear_anchors: bool = True, allow_rebuild: bool = False, unicodes: dict[str, tuple[int, ...]] | None = None, kept: list[str] | None = None, report: list[str] | None = None, disclosure: dict[str, Any] | None = None) -> int

The original's apply_pairs: the shared writer with its Unicase defaults.

catalog module-attribute

catalog

confirm

confirm(parent: Any, message: str) -> bool

Ask Yes/No (default No) with the original's standard question box (tests replace this).

mappings

mappings(package: Any) -> list[Pair]

Return only the ready pairs from the ordered, fully listed case survey.

plan_key

plan_key(package: Any, rows: list[Row]) -> tuple

Bind Preview and confirmation to the font, rows and target shape identities.

survey

survey(package: Any) -> list[Row]

Choose canonical round-trip sources first, then Unicode and glyph-name order.

For each existing uppercase glyph, the first source wins. Later candidates are kept rows. Missing uppercase glyphs and multi-character case mappings are kept too; this tool never guesses a capital glyph name.