Fontist

How to find installed fonts?

The status command shows fonts paths.

$ fontist status "segoe ui"
Fonts found at:
- /Users/user/.fontist/fonts/SEGOEUII.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUIZ.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUIB.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUI.TTF (from segoe_ui formula)

With no argument it prints all fonts found in a system:

$ fontist status
Fonts found at:
- /Library/Fonts/Arial Unicode.ttf
- /System/Library/Fonts/Symbol.ttf
- /System/Library/Fonts/SFNSMono.ttf
...
- /Users/user/.fontist/fonts/SEGOEUII.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUIZ.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUIB.TTF (from segoe_ui formula)
- /Users/user/.fontist/fonts/SEGOEUI.TTF (from segoe_ui formula)

How to see available fonts?

To see which formulas contain a requested font:

$ fontist list "arial"
eurofix
 Arial
  Bold (uninstalled)
  Bold Italic (uninstalled)
  Italic (uninstalled)
  Regular (uninstalled)
ms_truetype
 Arial
  Regular (uninstalled)
  Bold (uninstalled)
  Bold Italic (uninstalled)
  Italic (uninstalled)
webcore
 Arial
  Regular (uninstalled)
  Bold (uninstalled)
  Bold Italic (uninstalled)
  Italic (uninstalled)

Again, with no argument it prints all available fonts in all formulas:

$ fontist list
courier_prime
 Courier Prime
  Bold (uninstalled)
  Bold Italic (uninstalled)
  Italic (uninstalled)
  Regular (uninstalled)
courier_prime_cyrillic
 Courier Prime
  Bold (uninstalled)
  Bold Italic (uninstalled)
...