fontlab_fontport.world.FontWorld
FontWorld
Stable document handles over an application boundary.
Existing documents are borrowed. Only documents created/opened through this object are owned. External closures invalidate cached handles on refresh. Call refresh after native edits/Undo to invalidate loaded glyph snapshots.
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 |
|---|---|---|---|
AllFonts |
function | (self) -> BaseFontList |
|
CurrentFont |
function | (self) -> RFont | None |
|
NewFont |
function | (self, familyName: str | None=None, styleName: str | None=None, showInterface: bool=True) -> RFont |
|
OpenFont |
function | (self, path: str, showInterface: bool=True) -> RFont |
|
__init__ |
function | (self, application: Any=None) -> None |
|
refresh |
function | (self) -> BaseFontList |