fontlab_plugmix.backend
backend
Native per-canvas painters with an EditorPainters fallback for old builds.
FontLab's text-block item applies its own transform before drawing a glyph
item (fltextblockitem.cpp). EditorPainters applies the glyph-item and block
transforms in that order. This backend does the same, then uses the native
canvas.mapToViewportF map for final viewport coordinates. The HT Letterspacer
consumer uses the glyph transform alone; that suffices only when the block's
transform is identity.
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 |
|---|---|---|---|
POLL_MS |
attribute | ||
active_glyph_map |
function | (canvas: Any, items: Any=None) -> _GlyphMap | None |
Find the active glyph occurrence, including later text-line positions. |
select_backend |
function | (qt: Any, fontlab: Any, sink: Callable[[Exception, object], object], *, editor_factory: Any=None, items: Call… |
Choose native hooks once; import EditorPainters only for older builds. |