Install local fonts on Ubuntu

Asked by Rahmat

I live in Nepal and when i tried to install the Nepali fonts from my pendrive ,it didn't work. Is it possible to install local fonts in ubuntu if ,yes how? help

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Solved by:
SageMassa
Solved:
Last query:
Last reply:
Revision history for this message
Best SageMassa (jedd.bissegger) said :
#1

To install the fonts, all you need to do in Ubuntu is to install the msttcorefonts package. Instructions for installation are given below.

The Truetype Microsoft fonts provided by the package include:

    * Andale Mono
    * Arial Black
    * Arial (Bold, Italic, Bold Italic)
    * Comic Sans MS (Bold)
    * Courier New (Bold, Italic, Bold Italic)
    * Georgia (Bold, Italic, Bold Italic)
    * Impact
    * Times New Roman (Bold, Italic, Bold Italic)
    * Trebuchet (Bold, Italic, Bold Italic)
    * Verdana (Bold, Italic, Bold Italic)
    * Webdings

Installing Microsoft Truetype fonts on Ubuntu

You can install the MS core fonts by installing the msttcorefonts package. To do this, enable the “Universe” component of the repositories. This is done by default in Feisty. After you do that, use the following command from the command line:

$sudo apt-get install msttcorefonts

This will give you the core fonts, but if there are other TrueType fonts that you want installed, it is as easy as copying the font files to the ~/.fonts/ directory.

After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:
$sudo fc-cache -fv

Revision history for this message
Rahmat (rshittu) said :
#2

Thanks SageMassa, that solved my question.