Merge pull request #6 from m4rc1e/gf-mastering

v1.000: mastering
This commit is contained in:
ThomasJockin 2019-06-19 20:23:14 +03:00 committed by GitHub
commit e2e72294b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 28133 additions and 750838 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.DS_Store

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.

BIN
fonts/vf/Lexend-VF.ttf Normal file

Binary file not shown.

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
fontmake==1.10.1
git+https://github.com/googlefonts/gftools

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

40
sources/build.sh Normal file
View file

@ -0,0 +1,40 @@
#!/bin/sh
set -e
echo "Generating Static fonts"
mkdir -p ../fonts ../fonts/ttf ../fonts/vf
fontmake -g Lexend.glyphs -i -o ttf --output-dir ../fonts/ttf/
echo "Generating VFs"
fontmake -g Lexend.glyphs -o variable --output-path ../fonts/vf/Lexend-VF.ttf
rm -rf master_ufo/ instance_ufo/
echo "Post processing"
ttfs=$(ls ../fonts/ttf/*.ttf)
for ttf in $ttfs
do
gftools fix-dsig -f $ttf;
gftools fix-nonhinting $ttf $ttf.fix;
mv "$ttf.fix" $ttf;
done
rm ../fonts/ttf/*gasp.ttf
echo "Post processing VFs"
vfs=$(ls ../fonts/vf/*-VF.ttf)
for vf in $vfs
do
gftools fix-dsig -f $vf;
gftools fix-nonhinting $vf $vf.fix;
mv "$vf.fix" $vf;
ttx -f -x "MVAR" $vf; # Drop MVAR. Table has issue in DW
rtrip=$(basename -s .ttf $vf)
new_file=../fonts/vf/$rtrip.ttx;
rm $vf;
ttx $new_file
rm $new_file
done
rm ../fonts/vf/*gasp.ttf