fontlabapp.guides.rewrite.model
model
Preconstruct complete guide rewrites, retaining native guide style and hints.
Use only freshly bound registered glyphs/layers. Preflight the whole batch before copying native values. Reuse the measured guide history protocol: initialize each object, stamp edited glyphs in UTC, then notify once, including after a partial native write error so the user retains Undo. Do not manually restore font fields.
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 | (shared captured text) | |
clear |
function | (package: Any, jobs: list, title: str=TITLE) -> dict[str, int] |
Keep complete chosen native guide copies and report actual removals. |
replace_guides |
function | (package: Any, jobs: list, title: str=TITLE) -> dict[str, int] |
Write exact ordered records; an empty list removes the layer's guides. |