Differences between revisions 8 and 10 (spanning 2 versions)
Revision 8 as of 2023-08-18 13:33:17
Size: 1433
Editor: ?SimonElmir
Comment: Include cleanup instructions
Revision 10 as of 2023-09-07 09:27:11
Size: 1478
Editor: PaulWise
Comment: prevent auto-linking
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Here is some terminal output which shows you how you can get to the new (non-free) MS Office fonts, which came with Office 2007 and Windows 7. Notably, this collection includes Calibri and Cambria, default fonts used in many MS Office documents. Here are some commands that install the non-free MS Office fonts, which came with Office 2007 and Windows 7. Notably, this collection includes Calibri and Cambria, default fonts used in many MS Office documents.

Download the Microsoft !PowerPoint Viewer executable:
Line 10: Line 13:
Verify that it's the correct file
Verify that it is the correct file:
Line 14: Line 19:
Line 16: Line 22:
You need a tool to extract the files from the executable. It may be possible to use `unrar`, but `cabextract` is a better match for this use-case You need a tool to extract the files from the executable. It may be possible to use `unrar`, but `cabextract` is a better match for this use-case.
Line 20: Line 27:
Extract the part of the installer that has the fonts
Extract the part of the installer that has the fonts:
Line 24: Line 33:
Line 25: Line 35:
Line 30: Line 41:
Line 32: Line 44:

Translation(s) : English - Français


Here are some commands that install the non-free MS Office fonts, which came with Office 2007 and Windows 7. Notably, this collection includes Calibri and Cambria, default fonts used in many MS Office documents.

Download the Microsoft PowerPoint Viewer executable:

wget https://archive.org/download/PowerPointViewer_201801/PowerPointViewer.exe

Verify that it is the correct file:

sha256sum PowerPointViewer.exe

If the checksum doesn't match 249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423, then it's not the right file.

You need a tool to extract the files from the executable. It may be possible to use unrar, but cabextract is a better match for this use-case.

sudo apt install cabextract

Extract the part of the installer that has the fonts:

cabextract PowerPointViewer.exe -F ppviewer.cab

ppviewer.cab contains the font files. Extract the fonts into your user's font directory:

mkdir -p ~/.fonts/ppviewer/
cabextract ppviewer.cab -F '*.TTC' -d ~/.fonts/ppviewer/
cabextract ppviewer.cab -F '*.TTF' -d ~/.fonts/ppviewer/

After this step, you may delete PowerPointViewer.exe and ppviewer.cab.

If your font-using application is already open, it'll probably need to be restarted before it can use the newly-installed fonts.