/font

A command-line font manager

Primary LanguageRubyMIT LicenseMIT

font

A command-line font manager for Google Web Fonts.

Installing

$ git clone https://github.com/alyssais/font.git
$ cd font/
$ sudo rake # May not need to sudo, but it can't hurt.

Uninstalling

$ rake uninstall

Usage

Show all available fonts

$ font list

You can also show the fonts you currently have installed:

$ font list installed

Or fonts that are currently not installed.

$ font list not_installed

Show information for a particular font

$ font show "Droid Sans"

Preview a font in a web browser

$ font preview "Droid Sans"

Install fonts

Fonts will be installed at ~/Library/Fonts by default, but this can be changed by setting the FONT_PATH environment variable.

The default font path is compatible with OS X.

$ font install "Droid Sans"

You can specify a variant (available variants are shown with $ font show <name>).

$ font install "Droid Sans" 700

You can also install all fonts. (May take a while).

$ font install all

Uninstall fonts

$ font uninstall "Droid Sans"

You can specify a variant (available variants are shown with $ font show <name>).

$ font uninstall "Droid Sans" 700

You can also uninstall all fonts.

$ font uninstall all