How to install ttf fonts? [duplicate]

I want to install a font from true type of font of my own. where should I install my font in ubuntu?


Solution 1:

Copy the .ttf file and paste it inside ~/.fonts folder, i.e. /home/username/.fonts folder. Create one if you don't already have one.

Now run:

fc-cache -fv

from a terminal. You should now be able to see the new fonts in your editor/application. (editor/application might need a restart)

Solution 2:

Double click on the TTF file and select the Install button.