Skip to content

fontlab_remopy.actions.Controls · declarations 001

Back to fontlab_remopy.actions.Controls

activate_font

activate_font(**arguments: Any) -> Any

Call set_active_font. Changes which font is active.

activate_glyph

activate_glyph(**arguments: Any) -> Any

Call set_active_glyph. Changes which glyph is active.

close_font

close_font(**arguments: Any) -> Any

Call close_font. Closes a font in FontLab.

current_font

current_font() -> Any

Call get_active_font: the font in the active window.

current_glyphs

current_glyphs() -> Any

Call get_current_glyphs: the glyphs of the active window.

font_info

font_info(**arguments: Any) -> Any

Call get_font_info with the tool's arguments.

font_metrics

font_metrics(**arguments: Any) -> Any

Call get_font_metrics with the tool's arguments.

glyph

glyph(name: str, **arguments: Any) -> Any

Call get_glyph for the glyph called name.

glyph_info

glyph_info(**arguments: Any) -> Any

Call get_glyph with the tool's arguments.

glyph_metrics

glyph_metrics(**arguments: Any) -> Any

Call get_glyph_metrics with the tool's arguments.

list_actions

list_actions() -> Any

Call list_actions: the application actions that run_actions accepts.

list_fonts

list_fonts() -> Any

Call list_fonts: every open font, as {"fonts": [...]}.

list_glyphs

list_glyphs(**arguments: Any) -> Any

Call list_glyphs with the tool's arguments.

new_font

new_font(**arguments: Any) -> Any

Call new_font. Creates an empty font in FontLab.

open_font

open_font(**arguments: Any) -> Any

Call open_font. Opens a font in FontLab.

output

output(**arguments: Any) -> Any

Call get_python_output: recent Python output captured by the MCP tool.

python

python(function: Callable) -> Callable

Decorate a normal function to execute remotely with JSON values.

run_actions

run_actions(**arguments: Any) -> Any

Call run_actions: run application actions. Changes FontLab state.

save_font

save_font(**arguments: Any) -> Any

Call save_font. Writes the font to disk.

set_font_metrics

set_font_metrics(**arguments: Any) -> Any

Call set_font_metrics. Changes font metrics.

set_glyph_metrics

set_glyph_metrics(**arguments: Any) -> Any

Call set_glyph_metrics. Changes glyph metrics.