Skip to content

keryx font list

Description

Lists the fonts that resolve, and the scope each comes from.

It reports what a render would get, not what exists on disk. A key offered by two scopes appears once, under the scope that wins.

Usage

keryx font list [--system]
Flag Meaning Default
--system include fonts installed on this machine false

System fonts are hidden by default

A typical machine offers well over a hundred, which buries the handful keryx manages:

$ keryx font list
KEY             SCOPE     SOURCE
brand           project   .keryx/fonts/brand.ttf
dejavu-mono     embedded  (in the binary)
dejavu-sans     embedded  (in the binary)
inter           embedded  (in the binary)
jetbrains-mono  embedded  (in the binary)

109 more installed on this machine — keryx font list --system

The system scope exists so that naming a host font works, not so that anyone browses it. --system shows everything.

The order is stable

Output is sorted by scope, then key. It does not depend on what the host happens to have installed, so the same library prints the same way on two machines and scripts reading it are not at the mercy of a scan order.

Only usable fonts are listed

Formats keryx cannot parse — Type 1 (.t1, .pfb), bitmap fonts — are skipped. Everything listed can actually be drawn with; keryx font show on any of them will resolve.

See also