Linux Fonts: Difference between revisions

From Leo's Notes
This page was last edited on 1 December 2019, at 22:35.
Created page with "System-wide fonts on Linux systems are placed at {{code|/usr/share/fonts/}}. After copying fonts to that location and ensuring they are owned by root:root and world readable,..."
 
mNo edit summary
 
Line 18: Line 18:
* https://community.linuxmint.com/tutorial/view/29
* https://community.linuxmint.com/tutorial/view/29


[[Category:Linux]]
{{Navbox Linux}}[[Category:Linux]]

Latest revision as of 22:35, 1 December 2019

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