Skip to content

fontlabapp.proof.text_filter.model · declarations 001

Back to fontlabapp.proof.text_filter.model

DEFAULT_CHARACTERS module-attribute

DEFAULT_CHARACTERS

KEY module-attribute

KEY

filter_text

filter_text(text: str, characters: str) -> str

Remove every unmatched code point, preserving order and duplicate characters.

Enter a-z for a range or \s for whitespace. An empty or malformed character class is an error, as in the source. Do not silently escape or normalize it.

show

show() -> Any

Open the complete modeless panel, replacing only its previous owned panel.

Settings use a dedicated tool namespace. Optional proof tabs use the shared literal-text sender and the original font identity; native preservation still requires owned FontLab qualification. No application-wide event loop is run.