fontlabapp.glyphs.identity_tools.character_consistency.character_set_compare
character_set_compare
Paste a text or a character set and compare it with the font's encoded characters.
What it does: Lists characters of the text the font lacks and characters the font has that the text does not use, with names from unicodedata. Language presets fill in common alphabets. Copy the missing set, or select the extra glyphs in the Font window. Nothing in the font changes.
How it works: Compare distinct non-whitespace input characters with every encoded font character. Show missing and extra sets with Unicode names and code points.
Why this design: A character-set comparison answers a repertoire question without confusing unencoded alternates with encoded characters.
How to use: Run Names > Character Set Compare. Paste text or choose a language preset, inspect both lists, then copy missing characters or select extra glyphs as required.
Benefit: Prepare a character-coverage review while leaving encodings and glyph membership intact.
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 |
|---|---|---|---|
KEY |
attribute | ||
LATIN |
attribute | ||
PRESETS |
attribute | ||
QtCore |
attribute | (shared captured text) | |
QtGui |
attribute | (shared captured text) | |
TITLE |
attribute | ||
compare |
function | (text: str, available: dict[str, str]) -> tuple[list[str], list[str]] |
(missing, extra): characters of the text absent from the font, and font characters absent from it. |
describe |
function | (char: str) -> str |
Format a character, code point and Unicode name for comparison lists. |
font_chars |
function | () -> dict[str, str] |
{character: glyph name} for every encoded glyph of the current font. |
main |
function | () -> Any |
Open or replace this owned modeless Names panel. |
muted |
attribute | (shared captured text) | |
text_chars |
function | (text: str) -> list[str] |
Distinct non-whitespace characters of the text, sorted by code point. |