installing msttcorefonts on Fedora 13 (fixing Wine problem)

I had to install msttcorefonts (the Microsoft TTF fonts used by most windows programs) to be able to run Wine in my Fedora 13 install. It was pretty clear that the fonts were missing; all Windows apps I tried to run, including the Wine config tool, were unusable with all text garbled.
To fix this I had to install the core fonts and as this was a (somewhat) non-trivial task I have decided to document it here:
Fundamentally I followed the steps on but had to do make some modifications to make it work.
Firstly I “su -“‘ed to get root access.
  1. cd /tmp or somewhere else convenient…
  2. Download font spec file for the rpm build process (2.0-1 at the time of writing):
    1. wget
  3. Install rpm-build and cabextract:
    1. yum install rpm-build cabextract
  4. Install ttmkfdir (required to build usable font files from TTF files):
    1. yum install ttmkfdir
  5. Now build the RPM package from the spec file:
    1. rpmbuild -ba msttcorefonts-2.0-1.spec
  6. Install chkfontpath (a util to configure X server font paths apparently)…and xfs which is a deamon that serves fonts to X server clients:
    1. Get chkfontpath (look for latest version if you do this):
      1. wget
    2. Get xfs:
      1. yum install xfs
    3. Build chkfontpath:
      1. rpm -ivh chkfontpath-1.10.1-2.fc13.i686.rpm
  7. Disable GPG (signature) checking in the yum config file so open /etc/yum.conf in your favourite editor, look for the line “gpgcheck=1” in the “[main]” section and change it to “gpgcheck=0”. Save the file.
  8. Now you can FINALLY install the fonts themselves from the RPM:
    1. yum localinstall  /usr/src/redhat/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
  9. Clean up by re-enabling gpg check in /etc/yum.conf (DON’T FORGET THIS!)
  10. Log-out and log back in…

And that was it; Wine is now usable.


8 thoughts on “installing msttcorefonts on Fedora 13 (fixing Wine problem)

    1. Hi Jill – I’m sorry but I’ve never used Fedora 10 so I can’t answer that directly. However, the chkfontpaths package takes care of managing the fonts and font-paths for the packages installed in my post.

  1. Thanks for this great article. I just successfully installed fonts on fedora 13.

    One this I want to share for your convenience, instead of editing /etc/yum.conf, just use

    yum localinstall –nogpgcheck


  2. I can’t find chkfontpath (the ftp and http links don’t seem to be live any more) and step 8 then gives me

    Cannot open: / usr / src / redhat / RPMS / noarch / msttcorefonts-2.0-1.noarch. rpm. Skipping.

    (I’ve had to put spaces in the path because for some reason WordPress thinks I’m trying to hack something if I don’t… it obviously doesn’t understand my level of technical incompetence 😉

    1. I should probably re-visit this entry, it’s ancient now and probably severely out dated….it might not even be need anymore..? I haven’t used Wine for a long time (gave up tbh, easier to have a windows PC on the side..)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s