5.8 Fonts: TrueType Local Fonts


OpenType Fonts with the otf filename extension and TrueType fonts with the ttf filename extension can be added to the user’s ~/.local/share/fonts/ or system’s local store /usr/local/share/fonts/. Operating system installed fonts will be found in /usr/share/fonts. To list all fonts that are known to the system:

$ fc-list -f '%{file}\n' | sort

If they are installed system wide:

fc-list -f '%{file}\n' | grep Muli

When adding fonts to /usr/local/share/fonts/ the font cache may need to be refreshed:

$ fc-cache -f -v

The files within the directory can be organised, per font family for example, into separate sub-directories.

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0