Skip to content

Commit

Permalink
Merge pull request #6 from mathieudutour/patch-1
Browse files Browse the repository at this point in the history
Use pip to install brotli and zopfli
  • Loading branch information
zachleat authored Dec 13, 2021
2 parents 6b27380 + e71b6bd commit d980bd5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@ pip install fonttools

```sh
# Additional installation for --flavor=woff2
git clone https://github.com/google/brotli
cd brotli
python setup.py install
pip install brotli

# Additional installation for --flavor=woff --with-zopfli
git clone https://github.com/anthrotype/py-zopfli
cd py-zopfli
git submodule update --init --recursive
python setup.py install
pip install zopfli
```

If you want to read an in-depth tutorial on the installation steps above, please read [How I set up Glyphhanger on macOS for optimizing and converting font files for the Web](https://www.sarasoueidan.com/blog/glyphhanger/) by Sara Soueidan.
Expand Down Expand Up @@ -249,4 +244,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)

0 comments on commit d980bd5

Please sign in to comment.