mirror of
https://github.com/weiweihuanghuang/Work-Sans.git
synced 2024-11-26 09:20:15 +03:00
18e46c7b28
'Hairline' has been removed. The new 'Thin' is the same as 'HairLine' in previous versions. 'Light' and 'ExtraLight' also changed accordingly. Reflow will occur from previous versions on these weights.
17 lines
469 B
Bash
17 lines
469 B
Bash
for i in *.ttf; do
|
|
python process.py "$i"
|
|
echo "Processing $i"
|
|
done
|
|
|
|
for i in ExtraLight Thin; do
|
|
ttfautohint -n -w G -x 0 -f latn WorkSans-$i#1.ttf WorkSans-$i.ttf
|
|
echo "WorkSans-$i.ttf hinted"
|
|
done
|
|
for i in Light Regular Medium SemiBold Bold ExtraBold Black ; do
|
|
ttfautohint -n -w G -x 0 -f latn --control-file=hinting/WorkSans-$i.ctrl WorkSans-$i#1.ttf WorkSans-$i.ttf
|
|
echo "WorkSans-$i.ttf hinted"
|
|
done
|
|
|
|
for i in *#1.ttf; do
|
|
rm "$i"
|
|
done |