4

Ok, I installed a windows package that had some of the missing fonts in it, but still missing the Calibri font. Thanks a lot for the help. Meantime, I'm still stuck with some missing fonts :-))

1 Answers1

7

You simply need to install ttf-mscorefonts-installer by opening a terminal (easiest way to do is pressing ctrl+alt+t) and typing:

sudo apt install ttf-mscorefonts-installer

After you typed in this command you will be prompted for your password which you should supply.

In some cases the installation will print out an error message about a font not being able to be accessed by _apt, means the install partially failed.

Then do the following line by line on terminal (lines beginning with # are comments and you can leave them out). You can copy the lines here with ctrl+c and paste them into the terminal by ctrl+shift+v but make sure you copy the whole line each time.

# create a temporary directory
cd "$TMP"

# check and download the fonts
awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer

# re run the installation
sudo /usr/lib/msttcorefonts/update-ms-fonts "$TMP"/*
sudo touch /var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer

# clean up the temporary directory
cd ..
rm -r "$TMP"

you can close the terminal now by clicking on the 'X' on its top-bar or by typing exit. The fonts should then be available within LibreOffice.

Videonauth
  • 33,815