Skip to content

fontlabapp.glyphs.selection.mark_colors · declarations 001

Back to fontlabapp.glyphs.selection.mark_colors

plan

plan(glyphs: tuple[GlyphMark, ...]) -> tuple[int, ...]

Return candidate indices using only the original selected-colour set.

The native transport maps these candidates into the current filtered chart. A glyph absent from that model has no selectable cell. Native marks are compared as stored integers, including the unmarked value zero.

select_different_mark_colours

select_different_mark_colours() -> tuple[str, ...]

Add displayed different-colour glyphs; return newly selected names.

Activate the Font window first. No glyph data, Undo step, Output content or preference is written. Native failures attempt to remove only new additions; an unsafe or failed rollback is reported explicitly.