Last active
April 8, 2019 10:06
-
-
Save piperswe/fa4508e27f457d7b796ffd474be35d62 to your computer and use it in GitHub Desktop.
Install Consolas on OS X (based on avalonalex/8125197)
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
Thanks to this Gist: https://gist.github.com/avalonalex/8125197 | |
How to use: Make sure Homebrew is installed then run `curl https://gist.githubusercontent.com/zebMcCorkle/fa4508e27f457d7b796ffd474be35d62/raw/59942466b13fe92d09b4b537cc7fcfb309c05c4a/consolas.sh | bash -` |
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/sh | |
set -e | |
brew install cabextract | |
cd /tmp | |
curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe | |
cabextract PowerPointViewer.exe | |
cabextract ppviewer.cab | |
open CONSOLA*.TTF |
Worked for me. Thanks a lot!
Worked great but macOS was very unhappy about it. Strong warnings about issues with the fonts.
I had the same warnings on macOS, however working inside a folder '~/consolas' instead of '/tmp' worked fine, and made cleaning up easier too (though sudo rm -r ~/consolas
was required, probably due to attributes/permissions on the extracted files).
PowerPointViewer.exe: no valid cabinets found
All done, errors in processing 1 file(s)
pls help
@nvcken I had the same issue. Just downloaded the PowerPointViewer.exe from here, put it besides vistafonts-installer script, removed the download part from the script and run it. Worked for me.
@amirkarimi it worked well, thank you very much.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍 this worked perfectly, thanks!