Skip to content

fontlabapp.fontui.teaching_text.xml

xml

What: Export the current font's glyph names, Unicode values and revision dates. How: Read the App glyph catalogue and build XML elements with the standard library. Escape names and refuse characters that XML cannot represent. Why: Explicit elements retain every Unicode assignment for later scripts. Usage: Open a font and Refresh. Inspect the rows, then Copy Report or Export New. Benefit: Feed a small glyph inventory to a scripting or comparison pipeline. Requires: FontLab 9, Python 3.11, Fly and App glyph_catalog, draft_signals and qt_properties. Export requires a new absolute path and never overwrites a file.

Independent rewrite of the Qt simpledommodel example idea. Based on the author's own FontLab sample, Apache-2.0. Historical source: rescued/part2/ports/itemviews/pyqt-official/simpledommodel-a59dae9770bfbefb.py SHA256: c17809b93a3fff1601c20e15f233edbf687f023430e86bf1986772e38bf712d6 Historical source: rescued/part3/pyqt-official-ports/ports/itemviews/pyqt-official/simpledommodel-a59dae9770bfbefb.py SHA256: 50abde2890c2ca53384733ee94f77b54e3b4b7783efba2a965fc8b68a9becb42

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
HEADERS attribute
HELP attribute
Rows attribute (shared captured text)
TITLE attribute
build function (parent: Any=None) -> Any Build the original controls as a hidden child for an owned lab tab. (shared captured text)
build_rows function (rows: Rows) -> Rows Show the three source columns before XML serialization.
checked function (text: str) -> str Refuse characters which PythonQt can replace during text conversion. (shared captured text)
main function () -> None Use FontLab's application, main window and lazy Fly namespaces.
report function (rows: Rows) -> str Build an escaped XML inventory with one element per glyph and scalar.
show function (qt: Any, parent: Any=None, capture: Callable[[], Any] | None=None, *, embedded: bool=False) -> Any Open through the existing host.