Skip to content

fontlabapp.plugins.reporter.Reporter · declarations 001

Back to fontlabapp.plugins.reporter.Reporter

needs_background class-attribute instance-attribute

needs_background

needs_components class-attribute instance-attribute

needs_components

needs_kerning class-attribute instance-attribute

needs_kerning

needs_masters class-attribute instance-attribute

needs_masters

needs_mouse class-attribute instance-attribute

needs_mouse

needs_neighbours class-attribute instance-attribute

needs_neighbours

paint

paint(context: Any, qt: Any, sink: Callable[[Exception, object], object], capture: Callable[[Any], GlyphSnapshot] | None = None) -> None

Never allow capture, computation or Qt errors into paintEvent.

Both backends' contexts carry scale (view pixels per glyph unit); it becomes snapshot.view after capture, keeping captured content independent of the view.

requested_glyphs

requested_glyphs(identity: Identity, kerning_groups: KerningGroups | None = None) -> tuple[str, ...]

Name other glyphs whose outlines snapshot.others should carry.

Read from the same (owner) master, paint-safe, at most MAX_REQUESTED unique names. Asked only when identity was read. kerning_groups is the groups read this paint, None unless needs_kerning. Every override takes it.