Skip to content

fontlabapp.fonts.identity_tools.encoding_order.order

order

Sort by Unicode, name or Unicode script; export one glyph name per line for the whole font.

What it does: Open this script with a font active. Choose Unicode, Name or Script, then select Export order. The modeless chooser saves UTF-8 text for use in another workflow. The font's glyph order and outlines stay unchanged. Reopen after switching fonts.

How it works: Sort captured glyph records by the selected Unicode, name or script key, always keeping .notdef first. Export the resulting names as UTF-8 lines.

Why this design: An exported proposal can feed another workflow without relying on an unverified native glyph-order writer.

How to use: Run Font Info > Glyph Order Preview and Export. Choose the sort mode, inspect old and new indices and select Export order to choose a destination file.

Benefit: Prepare a reproducible glyph-order list while preserving the font's stored glyph order.

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
FontInfoDialog attribute
KEY attribute
QtCore attribute (shared captured text)
QtGui attribute (shared captured text)
SCRIPT_BOUNDARIES attribute
SCRIPT_DATA attribute
SCRIPT_NAMES attribute
SCRIPT_TAGS attribute
TITLE attribute
fontlab attribute
glyph_records function (package: Any) -> Any Read all Unicode assignments, including secondary encodings, in font order.
main function () -> Any Replace this tool's owned dialog using the shared script registry.
panel_type function () -> type Add studio sorting and keyboard access without changing the retained action API.
qt attribute
run function (records: list[tuple[str, list[int]]], mode: str) -> str Compute or apply the complete tool operation from validated inputs.
script_group function (codes: list[int]) -> str Resolve the primary Unicode encoding using the retained data snapshot.
sorted_order function (records: list[tuple[str, list[int]]], mode: str) -> list[tuple[str, list[int]]] Sort by the selected key while keeping .notdef first.