fontlabapp.glyphs.identity_tools.glyph_labels.glyph_notes · declarations 001
Back to fontlabapp.glyphs.identity_tools.glyph_labels.glyph_notes
KEY
module-attribute
KEY
TITLE
module-attribute
TITLE
first_line
first_line(text: str) -> str
Return the first non-blank line of TEXT, trimmed. Empty text gives "".
main
main() -> Any
Open or replace the Glyph Notes panel.
notes_in_font
notes_in_font(facts: Facts) -> list[tuple[str, str]]
Return (glyph name, note) for each glyph with a non-blank note, in font order.
save_note
save_note(native: Any, qtcore: Any, package_id: int, name: str, text: str, *, disclosure: dict[str, Any] | None = None) -> bool
Set the note of glyph NAME. One Undo step. Return True when it changed.
Raise ValueError when the glyph is refused (auto layers, auto base, no layers), unknown, the font switched or the font switched. Queued ids and their possible date changes are disclosed.