Fonts look strange in firefox

The Arial font is get installed by ttf-mscorefonts-installer and the David font is available in culmus package.

Open a terminal and do this command to get them

sudo apt-get install ttf-mscorefonts-installer culmus

Or using Software center:

Install ttf-mscorefonts via the software center

Install culmus via the software center

If you want to install only the David font (culmus package includes some other fonts too), you can download that font from the link below

Download link for David font only

Download it and copy the font file in the .fonts directory in your home. This directory is hidden by default. Use Ctrl + H to reveal the hidden files and folders. If the directory does not exists already, create one with name .fonts and copy the file in that directory.

Note: You have to accept the EULA when installing the ttf-mscorefonts-installer package. Use Tab for navigation in the terminal.

[Reference]

  1. Arial is installed by ttf-mscorefonts-installer as described in the package's description

  2. David font is in the culmus package as described by the package's file list


You'll need to install the ttf-mscorefonts-installer package. (Hint: Use the tab key to accept the EULA)

Incidentally, it's also part of the ubuntu-restricted-extras bundle, so that if you need java and multimedia codecs, install that instead.

You might also be interested in culmus and culmus-fancy.

Last, but not least, the installed fonts will be available for all, not just Firefox.


Easy way:

  1. Open the Ubuntu Software Center
  2. Search for "microsoft core fonts"
  3. Install package "Installer for Microsoft TrueType core fonts"

OR, in run this command in a terminal: sudo apt-get install ttf-mscorefonts-installer

Either way, you will be asked to accept the EULA, which you have to say "Yes" if you want the fonts installed.

Finally, you may have to close Firefox and open it again. If didn't work, try logging-out-and-loggin-in.