fontlabapp.features.identity_tools.feature_authoring.feature_code_viewer
feature_code_viewer
Read-only feature source for the whole font. Choose a feature and search its code.
What it does: Run with a font active. All original controls use the shared fly panel lifecycle. Feature data is font-wide; reopen after switching fonts or changing source.
How it works: Read ordered prefix and feature blocks through Fontport. Keep empty blocks and exact source; highlight literal search matches without compiling the font.
Why this design: Direct source inspection avoids confusing generated classes with the code that is actually stored.
How to use: Run Features > Feature Code Viewer with a font open. Choose the prefix or a feature, enter search text and use the search action to move through its matches.
Benefit: Locate a rule or language declaration while leaving feature source and glyph data unchanged.
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 |
|---|---|---|---|
ACTION |
attribute | ||
FeaturesDialog |
attribute | (shared captured text) | |
KEY |
attribute | ||
QtCore |
attribute | (shared captured text) | |
QtGui |
attribute | (shared captured text) | |
SUBTITLE |
attribute | ||
TITLE |
attribute | ||
fontlab |
attribute | (shared captured text) | |
main |
function | () -> Any |
Replace this tool through the shared owned-window registry. (shared captured text) |
qt |
attribute | (shared captured text) | |
run |
function | (features: Iterable[tuple[str, str]]) -> list[tuple[str, str]] |
Copy ordered (tag, exact source) pairs from a VFJ-equivalent snapshot. |