fontlabapp.proof.text_filter.model
model
Filter proof text with the source tool's regular-expression character class.
Adapted from Slobzheninov/Glyphs-Scripts Text Filter (Apache-2.0; see NOTICE). Modified for Python3.11, lazy FontLab access and shared owned Qt completion. The character field is a regex character class, not glyph names or a literal set. Ranges and escapes keep their original meaning; malformed classes raise re.error. No font or preferences are touched by import or filter_text.
Classes
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
DEFAULT_CHARACTERS |
attribute | ||
KEY |
attribute | ||
filter_text |
function | (text: str, characters: str) -> str |
Remove every unmatched code point, preserving order and duplicate characters. |
show |
function | () -> Any |
Open the complete modeless panel, replacing only its previous owned panel. |