June 01, 2012

Install True Type Fonts on Linux

1
Navigate to the directory, where TTF fonts are placed.
2
Create a directory for fonts (if not exists):
# mkdir /usr/share/fonts/truetype
3
Move the font files to the new font directory:
# mv *.ttf /usr/share/fonts/truetype
4
Navigate to the font directory:
# cd /usr/share/fonts/truetype
5
Create fonts.scale and fonts.dir:
# mkfontscale && mkfontdir
# fc-cache

No comments:

Post a Comment