Tuesday, March 3, 2009

Installing microsoft truetype font on ubuntu

The reason we need this microsoft truetype fonts is that we want the documents created in microsoft office to be nicely opened in openoffice. To install microsoft trutype fonts:

1. Run the command below to install msttcorefonts. You can also use synaptics package manager to install if you are not familiar with terminal

$ sudo apt-get install msttcorefonts

2. To immediately use the new font, run the command below to rebuild back font information cache files

$ sudo fc-cache -fv

3. Your new fonts are ready to be used. Fonts that are already installed are:
  • 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
To add another font besides listed above, just copy the fonts files, and put it inside ~/.fonts/. You can find the fonts files from sourceforge

No comments:

Post a Comment