Skip to content

fontlab_glyport.glyphsapp.fontlab_bridge · declarations 001

Back to fontlab_glyport.glyphsapp.fontlab_bridge

DOCUMENT_ACTIVATED module-attribute

DOCUMENT_ACTIVATED

DOCUMENT_SIGNALS module-attribute

DOCUMENT_SIGNALS

DRAW_BACKGROUND module-attribute

DRAW_BACKGROUND

DRAW_FOREGROUND module-attribute

DRAW_FOREGROUND

Log module-attribute

Log

NOTICE_TIMEOUT_MS module-attribute

NOTICE_TIMEOUT_MS

POLL_INTERVAL_MS module-attribute

POLL_INTERVAL_MS

UPDATE_INTERFACE module-attribute

UPDATE_INTERFACE

fontlab_glyphsapp_provider

fontlab_glyphsapp_provider(ctx, *, version: ProfileVersion | tuple[float, float], packages=None, defaults=None, **options) -> Callable

Wire a FontLab GlyphsApp adapter into ExecutionContext ctx.

The model reads FontLabBackend(packages) (OwnedPackage items from owned_test_package for acceptance). Bridge diagnostics and callback errors go to ctx.output; ctx.close() removes every callback, then closes the bridge. options go to FontLabGlyphsBridge. Use it as ctx.adapters["GlyphsApp"] = fontlab_glyphsapp_provider(ctx, version=...).

interface_state

interface_state() -> tuple

Current package id and current glyph id: registered objects only.

Never reads flPackage.fgPackage (unsafe on unregistered packages).