fc-cahe

build font information cache files

sudo mkdir /usr/share/fonts/custom
sudo cp /path/to/fontfile  /usr/share/fonts/custom
sudo chmod 644 /usr/share/fonts/custom/*

cd /usr/share/fonts/custom
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv

Last updated

Was this helpful?