Skip to content

Select Unreferenced Glyphs

List unencoded glyphs that nothing references, and select them in the Font window for review.

What it does: A glyph counts as referenced when it has a code point, is used as a component or in an auto recipe on any layer, is named in the OpenType feature source, or belongs to a feature class that the source uses. Candidates are often alternates waiting for a feature, so the script only selects them; it never deletes. Feature files pulled in with include() cannot be read and stop the scan.

How it works: Use the shared App reference scan for encodings, component use, automatic recipes and feature/class references. Refuse unresolved include files rather than guessing their contents.

Why this design: Unencoded alternates can still be useful, so a candidate list must support review rather than automatic deletion.

How to use: Run Cleanup > Select Unreferenced Glyphs with a font open. Review all listed candidates and press Select in Font window to locate them before making any separate deletion decision.

Benefit: Identify possible unused glyphs without deleting glyphs or changing their references.

Run Cleanup > Select Unreferenced Glyphs from FontLab's Scripts menu.

Read installation and working with scripts before use.

Source identity

SHA256: 08df5f311d812924ff634883cf52b7cc3b214843679d6b2b98d5d33eaf5fd7ae

Python source at f4c16f20ef10