fontlab_glyport.glyphsapp.fontlab_bridge
fontlab_bridge
FontLab 9 GlyphsBridge (R026 subscribe/remove, R027 teardown).
Native modules (fontlab, PythonQt.QtCore, PythonQt.QtGui) are
imported on first use, never at module import. Each native member used is
listed with its fontlab-echopy stub line in WORK.md (integration task 2).
- Output: script text reaches the context sink (
ExecutionContext.output).show_macro_window/clear_logleave FontLab's Output panel (user content) alone unlessoutput_panel=True. show_notificationposts a status-bar message; never a modal dialog.redrawcallsfontlab.UpdateActiveCanvas(): a view refresh that sends no model change notification.subscribesupportsGSUpdateInterface: one ownedQTimerpolls an interface fingerprint and calls subscribers when it changes, with one argument (aNotification). Document opened/will-close events connect one slot each to FontLab'sflItems.instance().qobjectsignals (DOCUMENT_SIGNALS). Other events raiseUnsupportedCapability.removeis idempotent for issued tokens (R026); an unknown token raises.- Drawing callbacks use the editor painters. DrawBackground paints under
the outlines through the native
UnderOwnerpainter; on builds without native painters it falls back to an overlay (R054), and its registration records REPORTER_BACKGROUND_AS_OVERLAY in the owning execution receipt.
Classes
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 |
|---|---|---|---|
DOCUMENT_ACTIVATED |
attribute | ||
DOCUMENT_SIGNALS |
attribute | ||
DRAW_BACKGROUND |
attribute | ||
DRAW_FOREGROUND |
attribute | ||
Log |
attribute | ||
NOTICE_TIMEOUT_MS |
attribute | ||
POLL_INTERVAL_MS |
attribute | ||
UPDATE_INTERFACE |
attribute | ||
fontlab_glyphsapp_provider |
function | (ctx, *, version: ProfileVersion | tuple[float, float], packages=None, defaults=None, **options) -> Callable |
Wire a FontLab <code>GlyphsApp</code><code> adapter into </code><code>ExecutionContext</code><code> </code><code>ctx</code>. |
interface_state |
function | () -> tuple |
Current package id and current glyph id: registered objects only. |