Open Source

Install Microsoft core TrueType fonts in Mandriva Linux

The default fonts packaged with Linux are definitely passable; however, Microsoft has some freely available TrueType fonts that make Linux look even better. These fonts technically aren't redistributable, which is why most Linux vendors do not provide them out of the box. But, these fonts are available for personal use; you just need to download and install them. On RPM-based systems, a clever RPM package exists that, when installed, will generate a new RPM that includes these TrueType fonts — a quick and efficient way to package the fonts without manually downloading and installing them.

This RPM package was designed for an older Mandrake Linux distribution, but it works just as well on recent Mandriva Linux installs and most likely works with other RPM-based Linux distributions as well.

Download the following RPM package: ftp://ftp.pbone.net/mirror/seerofsouls.com/mandriva/official/2007.0/i586/main/msttcorefonts-bootstrap-0.1-4brs.noarch.rpm

Once you have it, install it. If you're using Mandriva Linux, use urpmi to install it. Because this RPM package actually creates another, a number of dependencies must be installed to create the RPM package:

# urpmi msttcorefonts-bootstrap-0.1-4brs.noarch.rpm

To satisfy dependencies, the following packages are going to be installed:

autoconf2.1-2.13-25mdv2007.0.noarch

autoconf2.5-2.61-1mdv2007.1.noarch

automake1.8-1.9.6-4mdv2007.1.noarch

cabextract-1.2-2mdv2007.1.i586

elfutils-0.125-2mdv2007.1.i586

gcc-c++-4.1.2-1mdv2007.1.i586

gettext-0.16.1-1mdv2007.1.i586

libgettextmisc-0.16.1-1mdv2007.1.i586

libstdc++6-devel-4.1.2-1mdv2007.1.i586

libtool-base-1.5.22-1mdv2007.1.i586

m4-1.4.8-1mdv2007.1.i586

msttcorefonts-bootstrap-0.1-4brs.noarch

rpm-build-4.4.6-21mdv2007.1.i586

rpm-mandriva-setup-build-1.40-1mdv2007.1.i586

spec-helper-0.24-2mdv2007.0.noarch

Proceed with the installation of the 15 packages? (80 MB) (Y/n)

On other Linux distributions, use the tool that comes with it (e.g., apt or yum). When the package is installed, it will immediately make a network connection to SourceForge to download the font files and bundle them into a new RPM package called msttcorefonts, and then install that newly-generated RPM package.

Once the RPM is installed, the fonts are immediately available. For instance, in GNOME, select System | Preferences | Font to set the default application fonts, perhaps changing the default Sans font to Verdana.

In KDE, open the KDE Control Center, select Appearance & Themes, and then Fonts. Here you could also change the default Sans font to Verdana (or any other font the package supplies, including Arial, Comic, Courier, Georgia, etc.).

Delivered each Tuesday, TechRepublic's free Linux NetNote provides tips, articles, and other resources to help you hone your Linux skills. Automatically sign up today!

About

Vincent Danen works on the Red Hat Security Response Team and lives in Canada. He has been writing about and developing on Linux for over 10 years and is a veteran Mac user.

Editor's Picks