Ever wanted to add true type fonts to your Ubuntu machine? It's actually fairly simple.
1- Download the .ttf file to your machine
2- Create a new folder for your fonts under /usr/share/fonts/truetype/:
$ sudo mkdir /usr/share/fonts/truetype/myfonts |
3- Move the .ttf file to the new created folder:
$ mv [ttf_file] /usr/share/fonts/truetype/myfonts |
4- Use fc-cache to add the new fonts to the system
$ sudo fc-cache -f -v |
More info on fc-cache:
NAME fc-cache - build font information cache files DESCRIPTION fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling. |
No comments:
Post a Comment