OS Manuals

/opt/chainguard/pysilfont/bin/psfcheckclassesxml

SIL Global's Python font utilities (psf* command-line tools for UFO, TTF and OpenType feature workflows)

From pysilfont 1.8.0_git20260910-r1 (os), captured 2026-11-05 by running psfcheckclassesxml --help (exit 0). permalink

usage: psfcheckclassesxml [-h] [-f FONT] [--gname GNAME] [--psname PSNAME] [--sort SORT]
                          [--filter [FILTER]] [-g] [-l LOG] [-p PARAMS] [-q]
                          [classes] [glyphdata]

integrety checking for classes defined in xml

Identify potential typos in an XML class definition file by comparing glyphnames with font and glyph_data.
Verify specially-identified classes defined in xml have correct length and, if desired, correct ordering.

positional arguments:
  classes              Class definition in XML format
  glyphdata            Glyph info csv file

other arguments:
  -h, --help           show this help message and exit
  -f, --font FONT      TTF or UFO input font for improved checking
  --gname GNAME        Column header for glyph working name
  --psname PSNAME      Column header for ps_name
  --sort SORT          Column header(s) for sort order
  --filter [FILTER]    Include only interesting names (identified by optional regex) for some
                       reporting purposes
  -g, --graphite       Include graphite class order testing
  -l, --log LOG        Log file
  -p, --params PARAMS  Other parameters - see parameters.md for details
  -q, --quiet          Quiet mode - only display severe errors

For more help options use -h ?.  For more documentation see https://github.com/silnrsi/pysilfont/blob/master/docs/scripts.md#psfcheckclassesxml

Version: 1.8.1.dev14
Copyright (c) 2014-2025, SIL Global (https://www.sil.org)
Options (10)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-f, --font FONTTTF or UFO input font for improved checkinghelp
--gname GNAMEColumn header for glyph working namehelp
--psname PSNAMEColumn header for ps_namehelp
--sort SORTColumn header(s) for sort orderhelp
--filter FILTERInclude only interesting names (identified by optional regex) for some reporting purposeshelp
-g, --graphiteInclude graphite class order testinghelp
-l, --log LOGLog filehelp
-p, --params PARAMSOther parameters - see parameters.md for detailshelp
-q, --quietQuiet mode - only display severe errorshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.