fontlabapp.fontui.teaching_writers.font_info_snapshot · declarations 001
Back to fontlabapp.fontui.teaching_writers.font_info_snapshot
Capture
module-attribute
Capture
FIELDS
module-attribute
FIELDS
HELP
module-attribute
HELP
TITLE
module-attribute
TITLE
capture_info
capture_info(native: Any = None) -> Capture
Read naming text and master twice from one fenced workspace package.
Use flPackage.info for the current master's values. Refuse package, master or field changes during capture. Other masters remain untouched.
checked
checked(text: str) -> str
Refuse text that the Qt bridge can change or UTF-8 cannot encode.
compare_info
Compare naming text only when both snapshots identify the same master.
export_new
export_new(filename: str, text: str) -> None
Write exact UTF-8 to a new absolute file; refuse overwrite and symlinks.
main
main() -> None
Use FontLab's main window and Fly; never construct an application.
read_snapshot
read_snapshot(filename: str) -> tuple[Capture, tuple[str, ...]]
Read schema 2 as data and report only detected byte conversions.
show
show(qt: Any, parent: Any, *, embedded: bool = False) -> Any
Open a retained modeless panel; disconnect owned slots before deletion.
snapshot_json
snapshot_json(captured: Capture) -> str
Serialize current-master naming and credits with schema version 2.
unique_object
unique_object(pairs: list[tuple[str, Any]]) -> dict[str, Any]
Refuse duplicate JSON keys rather than silently losing a setting.