ADDFONT(7) Miscellaneous Information Manual ADDFONT(7)

addfontadd custom fonts

Create folder ~/.fonts and put your font files in there. In this folder run command fc-cache(1).

$ mkdir ~/.fonts
$ cd ~/.fonts
$ fc-cache
Check that the font has been added.
$ fc-list | grep 'Monaco'
/home/puffy/.fonts/monaco.ttf: Monaco:style=Regular
April 11, 2023 OpenBSD 7.4