Skip to content

Fontshow – Cheat Sheet

This cheat sheet is automatically generated from the project documentation.

Do not edit this file manually.

fontshow preflight
fontshow dump-fonts
fontshow parse-inventory
fontshow validate-inventory
fontshow create-catalog

Flag Description
--help Show usage information
--version, -V Show Fontshow version
--verbose, -v Enable verbose output
--quiet, -q Suppress non-essential output

Code Meaning
0 Successful execution
1 Unrecoverable execution failure
2 CLI usage error (argument parsing)

pip install fontshow

git clone https://github.com/marco0560/Fontshow.git
cd Fontshow
python3 scripts/bootstrap_dev_environment.py

fontshow preflight
fontshow dump-fonts
fontshow parse-inventory
fontshow create-catalog

Preflight checks
  ↓
System font dump
  ↓
Inventory parsing, validation and enrichment
  ↓
Catalog creation (.tex generation)
  ↓
LuaLaTeX compilation (multi-pass)

python -m fontshow.cli.dump_fonts --no-loadability

python -m fontshow.cli.dump_fonts --include-fc-charset

  • Only RFC-compliant BCP-47 language tags are accepted
  • Deprecated or malformed tags cause a hard failure
  • No silent normalization is applied
  • Inventory generation stops on first violation

fontshow preflight

Code Meaning
0 All required checks passed
1 One or more blocking checks failed

fontshow validate-inventory <inventory.json>

Code Meaning
0 Validation completed successfully
1 Input file missing, invalid JSON, or validation failed