diff options
author | reuixiy <reuixiy@gmail.com> | 2020-02-14 17:11:03 +0300 |
---|---|---|
committer | reuixiy <reuixiy@gmail.com> | 2020-02-14 17:20:53 +0300 |
commit | ffc6aa7627c5e30980e5e02cd055a6ad969cb589 (patch) | |
tree | f55ce9e76b771f4535d936d1fbfa76f68cfb3958 /static | |
parent | 1e6791bcc3d96c32a6986ba69ba3bb8f58a1654d (diff) |
fix: subset glyph-correction
```
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
Diffstat (limited to 'static')
-rw-r--r-- | static/fonts/glyph-correction.eot | bin | 2288 -> 2222 bytes |
-rw-r--r-- | static/fonts/glyph-correction.ttf | bin | 2020 -> 1968 bytes |
-rw-r--r-- | static/fonts/glyph-correction.woff | bin | 1192 -> 2044 bytes |
-rw-r--r-- | static/fonts/glyph-correction.woff2 | bin | 772 -> 800 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/static/fonts/glyph-correction.eot b/static/fonts/glyph-correction.eot Binary files differindex 3dd5809..69a9ffb 100644 --- a/static/fonts/glyph-correction.eot +++ b/static/fonts/glyph-correction.eot diff --git a/static/fonts/glyph-correction.ttf b/static/fonts/glyph-correction.ttf Binary files differindex 3ef9185..9c44183 100644 --- a/static/fonts/glyph-correction.ttf +++ b/static/fonts/glyph-correction.ttf diff --git a/static/fonts/glyph-correction.woff b/static/fonts/glyph-correction.woff Binary files differindex 93a6afd..fb5b6d1 100644 --- a/static/fonts/glyph-correction.woff +++ b/static/fonts/glyph-correction.woff diff --git a/static/fonts/glyph-correction.woff2 b/static/fonts/glyph-correction.woff2 Binary files differindex 0fd4c09..8edd40a 100644 --- a/static/fonts/glyph-correction.woff2 +++ b/static/fonts/glyph-correction.woff2 |