chrissimpkins / codeface

Typefaces for source code beautification
Other
6.15k stars 416 forks source link

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

Open dragons4life opened 8 years ago

chrissimpkins commented 8 years ago

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

mpathy commented 7 years ago

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..

chrissimpkins commented 7 years ago

Thanks for the feedback!

chrissimpkins commented 7 years ago

Thanks for the feedback!

choyrim commented 7 years ago

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

chrissimpkins commented 7 years ago

:+1: thank you!