Steps for Linux
|
| 1. |
Download font from Download and save in a directory on
your machine. |
| 2. |
Go to the directory in which you have saved the font file. |
| 3. |
Login as root.
$su |
| 4. |
Create a directory
/usr/share/fonts/default/TrueType using following
command:
$ mkdir /usr/share/fonts/default/TrueType |
| 5. |
Copy the font file in /usr/share/fonts/otfonts/
$ cp *.ttf /usr/share/fonts/default/TrueType |
| 6. |
Go to directory /usr/share/fonts/default/TrueType
$ cd /usr/share/fonts/default/TrueType |
| 7. |
Create fonts.scale
$ ttmkfdir
or
$ /usr/sbin/ttmkfdir |
| 8. |
Create fonts.dir
$ mkfontdir |
| 9. |
Add the path to X Font serve path
$ chkfontpath --add /usr/share/fonts/default/TrueType
or
$ /usr/sbin/chkfontpath --add /usr/share/fonts/default/TrueType |
| 10. |
Update font information cache
$ fc-cache |
| 11. |
Logout as root
$ exit |