วันพฤหัสบดีที่ 7 พฤษภาคม พ.ศ. 2558

Install Fonts on debian 8

Installing fonts on Debian, Ubuntu or other Debian based systems is an easy task.
This is what you have to do when you download the font from a specialized site (e.g. dafont.com) and want to use it on your Linux and Unix System.
The fonts can be copied in one of this directories:
  • /usr/share/fonts
  • /usr/share/X11/fonts
  • /usr/local/share/fonts
  • ~/.fonts
I recommend you to put the fonts in /usr/share/fonts if you need everybody  to use them, and in the user’s $HOME/.fonts if they are for a certain user.
$ cp /path/to/font.ttf ~/.fonts
After you copy the fonts in one of the font directories, do this:
$ fc-cache -fv
The fc-cache command reads and caches all the fonts installed in the font directories.

Cited from
http://linuxg.net/short-guide-install-fonts-on-debian-and-ubuntu/

ไม่มีความคิดเห็น: