Skip to content

Commit d980bd5

Browse files
authored
Merge pull request #6 from mathieudutour/patch-1
Use pip to install brotli and zopfli
2 parents 6b27380 + e71b6bd commit d980bd5

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,10 @@ pip install fonttools
2020

2121
```sh
2222
# Additional installation for --flavor=woff2
23-
git clone https://github.com/google/brotli
24-
cd brotli
25-
python setup.py install
23+
pip install brotli
2624

2725
# Additional installation for --flavor=woff --with-zopfli
28-
git clone https://github.com/anthrotype/py-zopfli
29-
cd py-zopfli
30-
git submodule update --init --recursive
31-
python setup.py install
26+
pip install zopfli
3227
```
3328

3429
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.
@@ -249,4 +244,4 @@ Or, alternatively `npx mocha`.
249244
## Alternatives to GlyphHanger
250245

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

0 commit comments

Comments
 (0)