Skip to content

fontlabapp.glyphs.identity_tools.glyph_labels.select_by_mark · declarations 001

Back to fontlabapp.glyphs.identity_tools.glyph_labels.select_by_mark

HUES module-attribute

HUES

KEY module-attribute

KEY

TITLE module-attribute

TITLE

font_marks

font_marks() -> list[tuple[str, int]]

[(glyph name, mark)] for the current font, in font order.

font_window_selection

font_window_selection() -> list[str]

Read exact Font window selection through the shared helper, no fallback.

groups

groups(marks: list[tuple[str, int]]) -> list[tuple[int, list[str]]]

[(mark, [names])], marked colours by hue first, unmarked last.

main

main() -> Any

Open or replace this owned modeless Names panel.

mark_color

mark_color(mark: int, lightness: int = 150) -> Any | None

The QColor FontLab shows for a mark value, or None for no mark.

mark_label

mark_label(mark: int) -> str

Describe native mark hue or grey value; zero means unmarked.

swatch

swatch(mark: int, size: int = 16) -> Any

Paint a native mark icon; always release the owned painter.