Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing Microsoft fonts
#1

This is an update to anyweb's tutorial How to Install Microsoft TTF Fonts in Red Hat. Since that tutorial was written, it is much easier with most modern distributions to install the fonts.

 

Why do you want the Microsoft fonts?

 

Most Linux distributions ship without this pack of fonts distributed by Microsoft, but most websites assume that you have this base set of fonts installed. What that practically means is that many websites will have weird-looking fonts and will not display as the designer intended. Installing the fonts makes your Linux web browsing experience much more familiar and again, things look as intended!

 

How to Install

 

In most distributions, it is now very simple to download and install the font pack in one step.

 

Go to your package manager or software management application (e.g. Ubuntu Software Centre) and search for msttcorefonts. Choose to install that package.

 

If you can't find or don't want to use the graphical package manager, you can go to a terminal and do:

 



Code:
sudo apt-get install msttcorefonts




 

(for Debian, Ubuntu, Linux Mint etc.)

 



Code:
su -c "yum install msttcorefonts"




 

(for Fedora, CentOS, RHEL, etc.)

 

Once the package has been downloaded and installed, you will need to log out and log back in so that your web browser so that it has access to the fonts. Fire up your browser again and you should start to see web pages rendering in the way they were designed to, with those Microsoft fonts.

 

If you are still having problems and the new fonts aren't showing up, try running this command as root:

 



Code:
sudo fc-cache -fv




 

That should be it!

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)