add fonts

1. download any fonts you want from internet. let’s say ttf file.
you can put it in any directory actually, but default is /usr/share/fonts/TTF (for ttf)
2. move to that directory
#cd /usr/share/fonts/TTF
3. execute mkfontscale and mkfontdir
#mkfontscale
#mkfontdir
4. check whether your xorg.conf have a line in Section Files
Section “Files”
..
..
FontPath /usr/share/fonts/TTF
..
..
EndSection
5. you can add the line of the directory where you put your font in the xorg.conf
ex: FontPath /home/user/fonts/
6. restart your X by simply log out and then log in again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.