Created
January 25, 2024 10:19
-
-
Save scmanjarrez/3429d58d47f12c1659426490a9935c39 to your computer and use it in GitHub Desktop.
Install microsoft propietary fonts in linux (calibri, cambria, corbel, etc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TMPDIR=/tmp/msfonts | |
mkdir -p $TMPDIR | |
cd $TMPDIR | |
wget https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe | |
cabextract -L -F ppviewer.cab -d . PowerPointViewer.exe | |
cabextract -L -F '*.TT[FC]' -d . ppviewer.cab | |
mkdir -p ~/.local/share/font | |
mv *ttf ~/.local/share/font | |
fc-cache -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment