Guides 11792 Published by

The text explains that missing Microsoft TrueType fonts on Fedora cause “Tofu” boxes in LibreOffice documents and offers three ways to install them. The quickest method is enabling the non‑free RPM Fusion repository and installing the msttcorefonts package, which automatically retrieves and extracts the full set of core fonts. If only a specific font (e.g., Calibri) is needed, you can download its Windows installer, extract the .ttf with cabextract, and place it in your personal ~/.local/share/fonts directory. For offline or older systems, you can copy a pre‑downloaded msttcorefonts tarball to /usr/local/share/fonts and run fc-cache manually, handling updates yourself.



How to Install Microsoft Fonts on Fedora 36

If you’ve ever opened a Word document in LibreOffice on Fedora and saw a bunch of “Tofu” boxes, the culprit is missing Microsoft fonts. This guide shows you three ways to get those familiar typefaces working – from the one‑liner RPM Fusion install to pulling individual .ttf files yourself.

Quick way: pull the corefonts package from RPM Fusion

Fedora doesn’t ship Microsoft’s TrueType collection because of licensing, but the non‑free RPM Fusion repo does.

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Enabling the repo lets you treat the fonts like any other package.

sudo dnf install msttcorefonts

The installer grabs the original .exe installers from SourceForge, runs cabextract behind the scenes and drops the .ttf files into /usr/share/fonts/msttcorefonts. Running fc-cache -fv refreshes the font cache so LibreOffice can see them immediately.

Why it matters: you get the full set (Arial, Times New Roman, Verdana…) in one go, and future updates are handled by dnf just like security patches.

Minimalist approach: grab only what you need

I once needed just Calibri for a single spreadsheet and ended up pulling the entire corefonts bundle – wasted disk space and a longer update window. If you’re picky, fetch the individual font file:

mkdir -p ~/.local/share/fonts && cd $_
wget https://downloads.sourceforge.net/corefonts/calibri.exe
cabextract calibri.exe
fc-cache -fv

cabextract pulls the .ttf out of the Windows installer. Placing it in your home‑directory means only your user can see the font, which is handy on a shared machine.

Why it matters: you avoid clutter and keep the system’s font directory clean.

Manual install for older Fedora or offline machines

When the network is flaky, download the whole “corefonts” archive on another computer:

  1. Grab msttcorefonts-*.tar.gz from a trusted mirror.
  2. Transfer it via USB.
  3. Extract to /usr/local/share/fonts/msttcorefonts.
  4. Run fc-cache -fv.

This method bypasses dnf entirely, so you’re responsible for updates – but it works on any Fedora spin, even if the RPM Fusion repo is disabled.

TL;DR checklist

  • Enable RPM Fusion non‑free: one command, done.
  • Install msttcorefonts for the full suite.
  • Use wget + cabextract if you only want a single font.
  • For offline installs, copy the tarball to /usr/local/share/fonts.

That’s all there is to it. Your LibreOffice documents should now render exactly like they did on Windows, without any mysterious boxes.