Linux Fonts

From Leo's Notes
Last edited on 1 December 2019, at 22:35.

System-wide fonts on Linux systems are placed at /usr/share/fonts/. After copying fonts to that location and ensuring they are owned by root:root and world readable, update the font cache using fc-cache.

# cp fonts.otf /usr/share/fonts/
# fc-cache -fv

For per-user fonts, place fonts in ~/.fonts and run fc-cache as the user.

$ cp fonts.otf ~/.fonts
$ fc-cache -fv

Microsoft fonts can be obtained using the mscorefonts package.

See Also[edit | edit source]