fontlab_remopy.client.FontLab
FontLab
Simple Python control, including notebooks with a running event loop.
with FontLab() as fl: answer = fl.eval('value + 2', value=40)
Owns its portal thread and bridge until close/context exit.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
activate_font— defined byfontlab_remopy.actions.Controls.activate_fontactivate_glyph— defined byfontlab_remopy.actions.Controls.activate_glyphclose_font— defined byfontlab_remopy.actions.Controls.close_fontcurrent_font— defined byfontlab_remopy.actions.Controls.current_fontcurrent_glyphs— defined byfontlab_remopy.actions.Controls.current_glyphsfont_info— defined byfontlab_remopy.actions.Controls.font_infofont_metrics— defined byfontlab_remopy.actions.Controls.font_metricsglyph— defined byfontlab_remopy.actions.Controls.glyphglyph_info— defined byfontlab_remopy.actions.Controls.glyph_infoglyph_metrics— defined byfontlab_remopy.actions.Controls.glyph_metricslist_actions— defined byfontlab_remopy.actions.Controls.list_actionslist_fonts— defined byfontlab_remopy.actions.Controls.list_fontslist_glyphs— defined byfontlab_remopy.actions.Controls.list_glyphsnew_font— defined byfontlab_remopy.actions.Controls.new_fontopen_font— defined byfontlab_remopy.actions.Controls.open_fontoutput— defined byfontlab_remopy.actions.Controls.outputpython— defined byfontlab_remopy.actions.Controls.pythonrun_actions— defined byfontlab_remopy.actions.Controls.run_actionssave_font— defined byfontlab_remopy.actions.Controls.save_fontset_font_metrics— defined byfontlab_remopy.actions.Controls.set_font_metricsset_glyph_metrics— defined byfontlab_remopy.actions.Controls.set_glyph_metrics
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 |
|---|---|---|---|
__enter__ |
function | (self) -> Self |
|
__exit__ |
function | (self, *exc: object) -> bool | None |
|
__init__ |
function | (self, command: str | None=None, timeout: float=30) -> None |
|
close |
function | (self) -> None |
Idempotently release the authenticated bridge and portal thread. |
eval |
function | (self, expression: str, /, **variables: Any) -> Any |
Evaluate an expression and return its JSON-native Python value. |
execute_script |
function | (self, path: str | Path, /, **variables: Any) -> ExecutionResult |
Run a .flpy/.vfpy file like <code>run</code><code>; </code><code>__file__</code> is its resolved path. |
fonts |
function | (self) -> list[dict[str, Any]] |
Return open-font records without the catalogue's outer object. |
run |
function | (self, code: str, /, **variables: Any) -> ExecutionResult |
Execute ordinary Python with JSON variables and captured output. |
tool |
function | (self, name: str, **arguments: Any) -> Any |
Call any native catalogue tool by name; return its JSON payload. |
tools |
function | (self) -> list[Any] |
Discover the complete authenticated native tool catalogue. |