Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alyssais/font
A command-line font manager
https://github.com/alyssais/font
Last synced: 28 days ago
JSON representation
A command-line font manager
- Host: GitHub
- URL: https://github.com/alyssais/font
- Owner: alyssais
- License: mit
- Archived: true
- Created: 2013-06-29T08:52:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T18:09:09.000Z (about 8 years ago)
- Last Synced: 2024-08-04T01:16:17.710Z (4 months ago)
- Language: Ruby
- Size: 43.9 KB
- Stars: 16
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-typography - font - Command-line font manager. (Ruby)
README
font
====A command-line font manager for Google Web Fonts.
Installing
----------```sh
$ git clone https://github.com/alyssais/font.git
$ cd font/
$ sudo rake # May not need to sudo, but it can't hurt.
```Uninstalling
------------```sh
$ rake uninstall
```Usage
-----### Show all available fonts
```sh
$ font list
```You can also show the fonts you currently have installed:
```sh
$ font list installed
```Or fonts that are currently not installed.
```sh
$ font list not_installed
```### Show information for a particular font
```sh
$ font show "Droid Sans"
```### Preview a font in a web browser
```sh
$ 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.
```sh
$ font install "Droid Sans"
```You can specify a variant (available variants are shown with `$ font show `).
```sh
$ font install "Droid Sans" 700
```You can also install all fonts. (May take a while).
```sh
$ font install all
```### Uninstall fonts
```sh
$ font uninstall "Droid Sans"
```You can specify a variant (available variants are shown with `$ font show `).
```sh
$ font uninstall "Droid Sans" 700
```You can also uninstall all fonts.
```sh
$ font uninstall all
```