Skip to content

fontlabapp.fontui.teaching_text.feature · declarations 001

Back to fontlabapp.fontui.teaching_text.feature

TITLE module-attribute

TITLE

capture_names

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

Read the current font's glyph names. Refuse missing or unstable font context.

feature_spans

feature_spans(text: str) -> list[tuple[int, int, str]]

Tokenize one line; comments and quoted strings shield embedded keywords.

Return Qt UTF-16 offsets, including supplementary characters before a token. This small lexer does not compile features or validate their semantics.

main

main() -> None

Open through Fly. Never create an application or run a global event loop.

show

show(qt: Any, parent: Any, *, embedded: bool = False) -> Any

Build one modeless tool; retain every exact connection until safe close.