Linux - Fonts

From XennisWiki
Jump to: navigation, search


Install a font locally

  • Copy the font files into ~/.fonts/<example-font>
  • Rebuild the font cache: fc-cache -f -v



Further information: Hack

  • Arch Linux: Install the ttf-hack package
  • Debian: Install the fonts-hack-ttf package
  • Manual:

Download the latest Hack version (e.g. and unzip to /tmp/hack.

Copy the font and the downloaded configuration

cp /tmp/hack/ /usr/share/fonts/
curl -o /tmp/45-Hack.conf
cp /tmp/45-Hack.conf /etc/fonts/conf.d/

Rebuild the cache and confirm installation

fc-cache -f -v
fc-list | grep "Hack"

Microsoft fonts

On Debian systems:

apt-get install msttcorefonts

Source Code Pro

See also