mirror of
https://github.com/belluzj/fantasque-sans.git
synced 2024-12-22 15:31:31 +01:00
Use TTFs as base for web fonts
This commit is contained in:
parent
103c7cecc3
commit
9976f53dff
|
@ -7,8 +7,8 @@ basename=$(basename "$name" .sfdir)
|
||||||
# TODO determine perfect parameters
|
# TODO determine perfect parameters
|
||||||
ttfautohint "TTF/${basename}.ttf" "TTF/${basename}.hinted.ttf"
|
ttfautohint "TTF/${basename}.ttf" "TTF/${basename}.hinted.ttf"
|
||||||
mv "TTF/${basename}.hinted.ttf" "TTF/${basename}.ttf"
|
mv "TTF/${basename}.hinted.ttf" "TTF/${basename}.ttf"
|
||||||
sfnt2woff "OTF/${basename}.otf"
|
sfnt2woff "TTF/${basename}.ttf"
|
||||||
mv "OTF/${basename}.woff" Webfonts
|
mv "TTF/${basename}.woff" Webfonts
|
||||||
woff2_compress "TTF/${basename}.ttf"
|
woff2_compress "TTF/${basename}.ttf"
|
||||||
mv "TTF/${basename}.woff2" Webfonts
|
mv "TTF/${basename}.woff2" Webfonts
|
||||||
ttf2eot "TTF/${basename}.ttf" > "Webfonts/${basename}.eot"
|
ttf2eot "TTF/${basename}.ttf" > "Webfonts/${basename}.eot"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user