Skip to content

fontlabapp.features.identity_tools.feature_explorer.alternate_preview

alternate_preview

Compare a base glyph and its suffixed alternates in each master. Read-only; outlines share one scale per row.

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: Match the complete base-plus-dot prefix, then draw existing alternates with their transformed outlines. Each master row uses a common scale for comparison.

Why this design: Naming identifies candidate alternates without claiming that a feature rule selects them during shaping.

How to use: Run Features > Alternate Preview. Enter an existing base name, choose the master scope and scroll through all displayed rows. Reopen after changing the bound font.

Benefit: Compare alternate proportions and master differences without generating a font or changing glyphs.

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)
layer_path function (layer: Any) -> Any The layer's outline as one QPainterPath in font units (y up), components placed.
main function () -> Any Replace this tool through the shared owned-window registry. (shared captured text)
qt attribute (shared captured text)
run function (names: list[str], base: str) -> list[str] Return the existing base first, followed by sorted dot-suffixed alternates.