Adding Fonts in Linux

General Discussions
Post Reply
Yahya
Posts: 2
Joined: Sat Nov 02, 2019 8:17 am

Adding Fonts in Linux

Post by Yahya » Tue Dec 24, 2019 12:25 pm

For one user (useful for users moving home from one machine to another without loosing their fonts):

Code: Select all

$ mkdir ~/.fonts
$ mkdir ~/.fonts/ttf-my-extra-fonts
$ cp /path/to/new/font/new-font-name.ttf ~/.fonts/ttf-my-extra-fonts/
$ fc-cache -f -v
System-wide (new users will have the same set of fonts):

Code: Select all

$ sudo mkdir /usr/share/fonts/truetype/ttf-my-extra-fonts
$ sudo cp /path/to/new/font/new-font-name.ttf /usr/share/fonts/truetype/ttf-my-extra-fonts
$ fc-cache -f -v
This is a link to a collection of fonts useful for Windows compatibility:
https://www.dropbox.com/s/nt47pp3ph7ffw ... l.zip?dl=0
It can be extracted directly into ~/.fonts/ or /usr/share/fonts/truetype/

Post Reply