fontlabapp.fonts.identity_tools.font_identity.trial · declarations 001
Back to fontlabapp.fonts.identity_tools.font_identity.trial
INSTALL_HINT
module-attribute
INSTALL_HINT
KEY
module-attribute
KEY
NAME_IDS
module-attribute
NAME_IDS
TITLE
module-attribute
TITLE
fonttools_api
fonttools_api() -> tuple[Any, Any, Any]
Load the public user-installed package, with a useful refusal if absent.
inspect_binary
inspect_binary(font: Any, names: list[str]) -> None
Refuse variable fonts and missing names before creating an output file.
main
main() -> Any
Open or replace only this tool's font-bound panel.
make_trial
make_trial(source: Path, destination: Path, names: list[str], prefix: str, *, keep_ligatures: bool = False, remove_positioning: bool = False, expected_digest: str | None = None) -> dict[str, Any]
Serialize a detached subset before an exclusive write; reject changed sources.
name_encoding
name_encoding(record: Any) -> str
Refuse unknown name-table encodings before decoding or encoding text.
panel_type
panel_type() -> type
Return a non-modal, font-bound export panel with explicit file previews.
prefix_text
prefix_text(text: str) -> str
Require an explicit ASCII prefix usable in both file and PostScript names.
preview
preview(folder: Path, destination: Path, names: list[str], prefix: str, family: str, upm: int, *, keep_ligatures: bool = False, sources: list[Any] | None = None) -> list[Any]
Build file targets from source summaries; prefix changes need no font reads.
read_field
read_field(widget: Any) -> str
Read literal Qt text and refuse characters that cannot round-trip safely.
rename_binary
rename_binary(font: Any, prefix: str) -> None
Prefix every localized identity record and the CFF identity, once.
scan_exports
scan_exports(folder: Path, names: list[str], family: str, upm: int) -> list[Any]
Read sources once; cache exact baseline and optional ligature glyph sets.
studio_panel_type
studio_panel_type() -> type
Keep file plans in source order while allowing independent table sorting.
subset_binary
subset_binary(font: Any, names: list[str], *, keep_ligatures: bool = False, remove_positioning: bool = False) -> None
Subset a detached font; expand GSUB only with explicit consent.