fontlabapp.fontui.twindow_host.FontLabHost
FontLabHost
Follow one font and one exact active Glyph-window text block.
shortcut: named/layer-specific symbols are not literal text, support their round trip only after a lossless shared token parser is available.
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 |
|---|---|---|---|
__init__ |
function | (self, font: Any, native: Any=None) -> None |
|
read_text |
function | (self) -> str | None |
Read exact Unicode scalars; never infer text from rendered glyph names. |
subscribe |
function | (self, owner: Any, callback: Callable, fonts: Callable, text_callback: Callable | None=None) -> None |
Use existing font/history hooks; poll text because typing emits no history. |
write_text |
function | (self, text: str) -> bool |
Replace only this font's captured active literal-text block and verify it. |