Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Adds --output to the docs #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ Writing CSS file: LatoLatin-Regular.css
}
```

#### Specify output directory for any files created with `--output`

```sh
> glyphhanger --subset=*.ttf --output=some/other/path

Subsetting LatoLatin-Regular.ttf to LatoLatin-Regular-subset.woff (was 145.06 KB, now 2.88 KB)
Subsetting LatoLatin-Regular.ttf to LatoLatin-Regular-subset.woff2 (was 145.06 KB, now 2.24 KB)
```

### Whitelist Characters

```sh
Expand Down Expand Up @@ -244,4 +253,4 @@ Or, alternatively `npx mocha`.
## Alternatives to GlyphHanger

* [unicode-ranger from Jeremy Wagner](https://github.com/malchata/unicode-ranger)
* [subfont from Peter Müller](https://www.npmjs.com/package/subfont)
* [subfont from Peter Müller](https://www.npmjs.com/package/subfont)