Skip to content

fontlabapp.fontui.teaching_text.handoff

handoff

What: Prepare a font handoff letter with a complete glyph-name inventory.

How: Prefill the family and version from the current font. Combine your review instructions with the current font's glyph names in an HTML letter.

Why: A precise review scope helps the recipient return useful corrections.

Usage: Check the project, enter a recipient and instructions, then select Build. Use Copy for plain text or Export New for a complete UTF-8 HTML document.

Benefit: Send clear review instructions without changing font data.

Setup: FontLab 9, Python 3.11, Fly and fontlabapp. Panels stay open beside the font. Export uses a new absolute path and never overwrites an existing file.

Idea from the Qt/PyQt examples (Riverbank Computing, Nokia, 2010-2013). Independent rewrite. Apache-2.0.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
TITLE attribute
build function (parent: Any=None) -> Any Build the original controls as a hidden child for an owned lab tab. (shared captured text)
capture_names function () -> tuple[str, ...] Read the current font's glyph names. (shared captured text)
check_text function (text: str) -> str Reject character classes that can change in a Qt plain-text document. (shared captured text)
current_font_label function () -> str Read the current font's family and numeric version for the project field.
export_new function (filename: str, text: str) -> None Export UTF-8 to a new absolute path. (shared captured text)
handoff_letter function (project: str, recipient: str, instructions: str, names: tuple[str, ...]) -> str Escape literal fields and every glyph name before composing an HTML letter.
main function () -> None Open through Fly. (shared captured text)
read_editor_exact function (editor: Any, gui: Any) -> str Check an export in a detached editor so draft text and Undo stay intact. (shared captured text)
set_plain_exact function (editor: Any, text: str) -> None Set checked text and verify the result. (shared captured text)
show function (qt: Any, parent: Any, *, embedded: bool=False) -> Any Build one modeless tool; retain every exact connection until safe close. (shared captured text)