Skip to content

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 by fontlab_remopy.actions.Controls.activate_font
  • activate_glyph — defined by fontlab_remopy.actions.Controls.activate_glyph
  • close_font — defined by fontlab_remopy.actions.Controls.close_font
  • current_font — defined by fontlab_remopy.actions.Controls.current_font
  • current_glyphs — defined by fontlab_remopy.actions.Controls.current_glyphs
  • font_info — defined by fontlab_remopy.actions.Controls.font_info
  • font_metrics — defined by fontlab_remopy.actions.Controls.font_metrics
  • glyph — defined by fontlab_remopy.actions.Controls.glyph
  • glyph_info — defined by fontlab_remopy.actions.Controls.glyph_info
  • glyph_metrics — defined by fontlab_remopy.actions.Controls.glyph_metrics
  • list_actions — defined by fontlab_remopy.actions.Controls.list_actions
  • list_fonts — defined by fontlab_remopy.actions.Controls.list_fonts
  • list_glyphs — defined by fontlab_remopy.actions.Controls.list_glyphs
  • new_font — defined by fontlab_remopy.actions.Controls.new_font
  • open_font — defined by fontlab_remopy.actions.Controls.open_font
  • output — defined by fontlab_remopy.actions.Controls.output
  • python — defined by fontlab_remopy.actions.Controls.python
  • run_actions — defined by fontlab_remopy.actions.Controls.run_actions
  • save_font — defined by fontlab_remopy.actions.Controls.save_font
  • set_font_metrics — defined by fontlab_remopy.actions.Controls.set_font_metrics
  • set_glyph_metrics — defined by fontlab_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>&#95;&#95;file&#95;&#95;</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.