Skip to content

keryx font show

Description

Reports where one font resolves from, and what was declared about it.

$ keryx font show brand
key      brand
scope    project
source   .keryx/fonts/brand.ttf
licence  OFL-1.1 (as declared)

Usage

keryx font show <key>

It parses the font, not just finds the file

show loads and parses the typeface before reporting it. "The file is there" and "keryx can draw with it" are different claims, and the second is the one worth answering — a font that resolves but cannot be parsed would otherwise fail much later, part-way through a render that has already paid for narration and illustrations.

An unreadable file therefore fails here:

$ keryx font show broken
ERRO parse font: sfnt: invalid font

Reading the scope

scope tells you where the font would come from, which decides whether it travels:

Scope Travels with
project this project only
user you, on this machine
system nothing — it is whatever the host installed
embedded every copy of keryx

A theme naming a project or system font renders differently somewhere else. keryx font promote moves a project font into your user library; keryx font add brings a system font under keryx's management.

See also