mirror of
https://github.com/googlefonts/lexend.git
synced 2026-09-10 07:26:23 -04:00
commit
30bfc4117e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20
sources/subset.sh
Normal file
20
sources/subset.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
#source ../env/bin/activate
|
||||
|
||||
ttDir=../fonts/ttf
|
||||
|
||||
echo ".
|
||||
SUBSETTING STATICS
|
||||
."
|
||||
|
||||
ttfs=$(ls $ttDir/*.ttf)
|
||||
for font in $ttfs
|
||||
do
|
||||
pyftsubset $font --unicodes="0-3c0,1e08-fb02" --layout-scripts=latn,grek --layout-features='*' --output-file=$font.subset --name-IDs='*' --name-legacy --glyph-names --symbol-cmap --legacy-cmap --notdef-glyph --notdef-outline --recommended-glyphs --drop-tables=
|
||||
mv $font.subset $font
|
||||
done
|
||||
|
||||
echo ".
|
||||
COMPLETE!
|
||||
."
|
||||
Loading…
Reference in a new issue