codeface icon indicating copy to clipboard operation
codeface copied to clipboard

Fastest way to install all the fonts? [windows/linux]

Open dragons4life opened this issue 9 years ago • 6 comments

dragons4life avatar Jun 01 '16 02:06 dragons4life

Could consider a script to do this on *nix systems. Interested in helping to pull this together?

chrissimpkins avatar Jun 10 '16 03:06 chrissimpkins

Could help maybe.

But just have a look at how the powerline font guys have done it: https://github.com/powerline/fonts

Look for the install scripts: https://github.com/powerline/fonts/blob/master/install.sh

And maybe note them here, because powerline fonts are an even better improvement then only coding fonts because you can do crazy stuff in vim, on the console and so on (Powerline, Airline, or Shell prompts like the agnoster one..

mpathy avatar Aug 07 '16 18:08 mpathy

Thanks for the feedback!

chrissimpkins avatar Aug 07 '16 19:08 chrissimpkins

Thanks for the feedback!

chrissimpkins avatar Aug 07 '16 19:08 chrissimpkins

I made a powershell script to install all the *.ttf inside the zip on my windows box. It goes thru the zip copies all *.ttf to $env:TEMP and then uses the shell to install to the font directory. It requires running as adminstrator role.

> .\install-fonts-in-zip.ps1 [<codeface zip>]

defaults to codeface-fonts.zip in the current directory. the script will install each font if it doesn't find the font file already in there. you will see a popup progress bar for each and every font installed.

bugs: it has a problem with the gohufonts. it always complains that it has already been installed. so you have to manually click ok.

install-fonts-in-zip.zip

choyrim avatar Oct 21 '16 20:10 choyrim

:+1: thank you!

chrissimpkins avatar Oct 21 '16 21:10 chrissimpkins