Skip to content

Commit

Permalink
fix: subset glyph-correction
Browse files Browse the repository at this point in the history
```
sudo pacman -S python-fonttools
sudo npm install -g fontmin ttf2woff2

pyftsubset glyph-correction.ttf --text="…—•·"
mv glyph-correction.subset.ttf glyph-correction.ttf
fontmin glyph-correction.ttf
cd build
rm glyph-correction.css glyph-correction.svg
cat glyph-correction.ttf | ttf2woff2 >> glyph-correction.woff2
```

https://github.com/fonttools/fonttools
https://github.com/ecomfe/fontmin
https://github.com/nfroidure/ttf2woff2
  • Loading branch information
reuixiy committed Feb 14, 2020
1 parent 1e6791b commit ffc6aa7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 0 deletions.
Binary file modified static/fonts/glyph-correction.eot
Binary file not shown.
Binary file modified static/fonts/glyph-correction.ttf
Binary file not shown.
Binary file modified static/fonts/glyph-correction.woff
Binary file not shown.
Binary file modified static/fonts/glyph-correction.woff2
Binary file not shown.

0 comments on commit ffc6aa7

Please sign in to comment.