• Home
  • Directory
  • Geeky Fun
  • Answers
  • MakeUseOf Guides
cool websites
RSS Twitter Facebook
Subscribe to MakeUseOf. Now, 168728 members!
Aweber

How To Install Microsoft Text Fonts In Ubuntu Linux

By Damien Oh on Dec. 8th, 2008

install-microsoft-core-fonts-ubuntu Arial, Times New Roman, Impact and Verdana are some of the most commonly used fonts. They are so widely used in fact that whenever you open a Word document from any computer, you immediately expect to find their presence. However, on your newly installed Ubuntu (and many other Linux distros), you will find that there is absolutely no trace of any of these fonts.

Ubuntu, by default, does not include the commonly used Microsoft core fonts in its installation. The set of fonts that it uses is not supported in Windows or Mac. This means that if you create a document and send to your partner for editing, he/she will not be able to view it in the way that it was originally formatted. Vice versa, you won’t be able to view the document that your friend sends you in the way that it was formatted, unless he/she is using the same fonts as you.

Luckily, installing the Microsoft core fonts package (and any other new fonts) in Ubuntu is easy. Here’s how you can do it on your own:

Installing Microsoft Core Fonts in Ubuntu Linux

The Microsoft core fonts package consists of the following fonts:

    * 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 install them, open up your Synaptic Package Manager (System -> Administration -> Synaptic Package Manager). Scroll down till you find msttcorefonts. Check the box beside it and select Mark for Installation. Click Apply at the menubar to install the fonts package.

install microsoft fonts linux

Alternatively, if you prefer the terminal way, simply type the following command in your terminal.

sudo apt-get install msttcorefonts

Installing new fonts

Installing the Microsoft core fonts package is only the beginning. There will be many occasions where you need to install a new set of fonts for a specific project. Here is how you can do it :

If you are installing the new fonts for personal use and do not want others to have access to them, simply create a .fonts folder in your Home directory and paste all the fonts into it. Here’s the steps:

  • 1. Download the fonts (it should be in zipped format)
  • 2. Extract the fonts.
  • 3. Open nautilus (Places -> Home). Press Ctrl + H to reveal all the hidden files and folders.
  • 4. Check if the .fonts folder exist. If not, create the folder and name it .fonts.
  • 5. Copy and paste the new font(s) into the .fonts folder.
  • 6. Restart your application. The fonts should be available for your use now.

If you want to install system-wide and allow others to use it:

  • 1. Create a new folder in your Desktop. Name it newfonts
  • 2. Download the new font(s) and extract to the newfonts folder
  • 3. Open a terminal
  • 4. Key in the command: sudo cp -R ~/Desktop/newfonts /usr/share/fonts. This will copy your new font(s) to the system font folder.
  • 5. Restart your application. The new fonts are now available for system-wide use.

If you are using KDE, there is a font installer application that allows you to install new fonts easily.The Font Installer application is found under System Settings.

install microsoft fonts ubuntu

Better Font Rendering

Now that you have installed your favorite fonts in your system, here’s a simple trick to improve the font rendering and make it look nicer.

Open up your Appearance configuration page (System -> Preferences -> Appearance)

Click on the Fonts tab. Under the Rendering section, check on the subpixel smoothing button.

smooth-font-rendering

You should notice the differences immediately.

If you are using Ubuntu 8.04 or an earlier version, this is what you need to do:

Type in the following command in the terminal

sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

Logout and login again. You should see a noticeable difference in the font rendering.

stumble it!

(By) Damien Oh is an all-out technology geek who loves to tweak and hack various operating systems to make life easier. Check out his blog at MakeTechEasier.com where he shares all the tips, tricks and tutorials.

Enjoyed the article? Subscribe to MakeUseOf to get daily updates on new cool websites and programs in your email for free. You'll also get free printable cheat sheets to your favorite programs

Your Email:




More about: documents . fonts . microsoft office . text . ubuntu

33 Comments

2008-12-08 10:25:54
Mackenzie

If you don’t want to use Microsoft’s proprietary fonts, the Liberation fonts Red Hat contracted are the same size as Arial, Times New Roman, and Courier, so your word wrap shouldn’t break.

Also, you can get over 300 fonts by doing sudo apt-get install ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon if you have the Multiverse repository enabled.

Reply to this comment
2008-12-08 21:28:11
Damien Oh

Thanks. I gotta try out the 300 fonts myself.

Reply to this comment
2008-12-08 12:57:41
Dave

i always thought that after installing system wide fonts in ubuntu you needed to rebuild the font cache first, with ” sudo fc-cache -f -v “.

Reply to this comment
2008-12-08 21:29:05
Damien Oh

It is optional to rebuild the font cache. It will work even without the cache rebuilding

Reply to this comment
2008-12-08 13:37:59
NDS

How about

sudo apt-get install msttcorefonts

Reply to this comment
2008-12-08 21:29:44
Damien Oh

that is covered in the article itself

Reply to this comment
2009-05-24 20:29:16
Frank
Subscribed to comments via email

“Alternatively, if you prefer the terminal way, simply type the following command in your terminal.

sudo apt-get install msttcorefonts”

Reply to this comment
2008-12-08 14:38:12
Vadi

Even lazier, just click the link and done: http://appnr.com/install/msttcorefonts

Reply to this comment
2008-12-08 15:24:24
Sean Meyer

Installing Ubuntu Restricted Packages in Add/Remove Programs (Applications -> Add/Remove…) installs Microsoft Core Fonts as well as lots of other useful things (support for various other audio formats (gstreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback).

I recommend anyone using Ubuntu do it.

Reply to this comment
2008-12-08 20:24:44
Jeff Jones

Wow dude, thats pretty cool.

jess
http://www.internet-anonymity.net.tc

Reply to this comment
2008-12-08 20:38:56
Free Xbox 360 Games

Wow this useful. Thanks a lot.

Reply to this comment
2008-12-08 21:01:04
flibble

Good guide but it doesn’t install Tahoma which a fair few websites and a couple of apps (like Steam) need.

If you are using Ubuntu, save this as fonts.sh and run it. It’ll install msttcorefonts and extract Tahoma from a Microsoft file (perfectly legal) and set them up correctly for you.

http://pastebin.com/f2df1c281

Reply to this comment
2008-12-08 21:30:31
Damien Oh

Cool. Thanks for sharing.

Reply to this comment
2008-12-08 21:56:29
beemer

sudo apt-get install ubuntu-restricted-extras

Reply to this comment
2008-12-09 04:37:53
Jojo
Subscribed to comments via email

I followed the process installing the fonts but I got this message:

E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.
E: _cache->open() failed, please report.

everytime I launched Synaptic Package Manager. Can you please help me fix this. I’m a noob Ubuntu user. Many thanks.

Reply to this comment
2008-12-09 07:11:50
User

run ‘dpkg –configure -a’ from command line. This should fix it.

Reply to this comment
2009-07-22 20:12:27
rick

where can i find the comand line

Reply to this comment
2008-12-09 09:04:38
Vadi

It needs to be “sudo dpkg –configure -a” actually. The messages will get fixed in next version of ubuntu

Reply to this comment
2008-12-09 13:01:00
Jojo
Subscribed to comments via email

Thank you for the fix.

Reply to this comment
2008-12-09 09:53:25
bonik

Wow this useful. Thanks a lot!!

Reply to this comment
2008-12-10 14:55:22
Paul
Subscribed to comments via email

Hello:

I used the “sudo apt-get install msttcorefonts” method to do this followed by the “Subpixel smoothing”. I restarted the computer and opened Firefox. I thought that the fonts looked quite a bit better. A little while later, there was an automatic update of Firefox and after the computer restarted again and I opened Firefox again, I thought the Fonts had gone back to the “old” ones again. Is this possible or am I just imagining things? I’m using Ubuntu 8.04.1 on a Dell Inspiron mini-laptop.

Thanks,

Paul

Reply to this comment
2008-12-10 19:18:41
Damien Oh

In Ubuntu 8.04.1, the font rendering effect is not turned on by default. You have to use the following command to activate the effect.

sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

You will have to log out and login again to see the effect.
Try this and let me know if it works.

Reply to this comment
2008-12-11 08:20:09
Vadi

Paul: Firefox tends to do that. Try disabling and enabling the smooth rendering and restarting firefox.

Damien: You can just go to System→Preferences→Appearance→Fonts and set it up there. That is easier ;)

Reply to this comment
2008-12-17 10:25:33
teddy

Wow dude, thats pretty cool….

Reply to this comment
2009-01-03 09:37:10
Neil

You know i searched everywhere a few weeks ago for a good tutorial on how to install core fonts, i just wish i had have come across yours then ;)

Reply to this comment
2009-01-03 11:12:03
Damien Oh

It still not too late now. There are plenty of useful and interesting stuffs in this site. I would advise you to bookmark it and subscribe to the feed so you won’t miss out any tips or tricks again in the future.

Reply to this comment
2009-01-17 19:33:21
Neil

sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

How do i undo that command? I dont like the way things look now…

Reply to this comment
2009-01-18 08:24:09
Damien Oh

Remove the file with this command:

sudo rm /etc/fonts/conf.d/10-autohint.conf

Reply to this comment
2009-01-17 19:39:17
Neil

…sorry i should have alaborated, it seems like everything has gotten really big :(

Reply to this comment
2009-05-22 12:23:13
rohit

Does this help import MS fonts into OpenOffice 3? I got pretty sick of trying to figure out how to run spadmin. Once I did get it to run, it just blinked and said no fonts available. Do I need to run something else to import fonts into OO3?

PS as you can figure out, I’m also a newbie at Linux. Thanks for your patience

Reply to this comment
2009-05-24 04:11:35
Damien Oh

Yes. You can access MS fonts from Open Office 3

Reply to this comment
2009-06-16 10:57:51
Sigitas

Thanks so much.

Reply to this comment
2009-12-25 17:34:13
Internetakias

I can’t find the package i have ubuntu 9.10

Reply to this comment
Reply
Note: Comments with abusive content, sarcastic grammar nitpicking, self-promotion will not be published. All comments are moderated.
Click here to cancel "reply".

TopicsMUO Guides
  • Browsing
  • Cool Software
  • Web Apps
  • Lists of Tools
  • How-To Tips
  • Windows
  • Mac
  • Linux
  • Gaming
  • Mobile Apps
  • Polls
  • Geeky Fun
  • BitTorrentThe Easy Guide
  • iPhoneUnofficial Manual
  • ItunesThe Big Book
  • LinuxGetting Started
  • MacBeginner's Guide
  • MoviesFor Movie Addicts
  • PC BuildingThe Idiot's Guide
  • ProductivityProductivity Guide
  • PhotoshopThe Idiot's Guide
  • TwitterBest Tips & Tricks
  • More Guides
Follow us on Twitter
Be Our Friend on Facebook
MakeUseOf Staff
Editors:
  • Editor in ChiefAibek Esengulov
  • MakeUseOf Directory's EditorKaly
  • Managing EditorMark O'Neill
  • Assistant EditorJackson Chung
  • MUO WP GuyJorge Sierra
  • PDF ManualsSimon Slangen
  • Promotion & SEORyan Dube
  • Sys AdminKarl Gechlik
  • MakeUseOf NewsletterSaikat Basu
  • MakeUseOf Answers EditorTina Sieber
Staff Authors:
  • ( Ask The Admin )Karl Gechlik
  • Tina Sieber
  • ( Tech Crazy )Varun Kashyap
  • ( The Things I Do )Saikat Basu
  • ( simonslangen.com )Simon Slangen
  • ( Free Writing Center )Ryan Dube
  • ( Super Subconscious)Jeffry Thurana
  • ( Tapping Thought )Dean Sherwin
  • ( Mac Photography Tips )Bakari Chavanu
  • ( timmyjohnboy.com )Tim Lenahan
  • ( Boulder Community Computers )Justin Pot
  • Other Active Authors ...

 

© 2010 MakeUseOf . Designed by kailoon AboutContactSubmit AppWrite For UsArchivesMobile VersionDisclaimer visitor stats