File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ for weight in "${weights[@]}"; do
25
25
26
26
fontmake -g " ${glyphs_file} " -o ttf --output-path " ${file} " -i " .* ${weight} "
27
27
28
- echo " [i] Fixing DSIG in ${file} "
29
- gftools fix-dsig --autofix " ${file} "
30
-
31
28
echo " [i] TTFautohint ${file} "
32
29
ttfautohint --no-info --ignore-restrictions " ${file} " " ${file} .hinted"
33
30
mv " ${file} .hinted" " ${file} "
Original file line number Diff line number Diff line change @@ -18,27 +18,23 @@ mkdir -p "${dir}"
18
18
rm -rf " ${dir:? } /" *
19
19
20
20
# make a temporary file here to avoid parallel runs from stepping on each other's toes
21
- vf_glyphs=$( mktemp --suffix=" .glyphs" )
21
+ vf_glyphs=$( mktemp)
22
+ mv ${vf_glyphs} ${vf_glyphs} .glyphs
23
+ vf_glyphs=${vf_glyphs} .glyphs
22
24
23
25
awk ' /name = Retina;/ { print; print "exports = 0;"; next }1' \
24
26
" ${glyphs_file} " > " ${vf_glyphs} "
25
27
26
28
fontmake -g " ${vf_glyphs} " -o variable --output-path " ${file} "
27
29
rm -f " ${vf_glyphs} "
28
30
29
- # fix variable font metadata – very important
30
- gftools fix-vf-meta " ${file} "
31
- mv " ${file} .fix" " ${file} "
32
-
33
31
# other fixes for metadata and hinting
34
32
gftools fix-nonhinting " ${file} " " ${file} .fix"
35
33
mv " ${file} .fix" " ${file} "
36
34
37
35
gftools fix-gasp --autofix " ${file} "
38
36
mv " ${file} .fix" " ${file} "
39
37
40
- gftools fix-dsig --autofix " ${file} "
41
-
42
38
# cleanup of temp files
43
39
rm -rf " ${dir} /" * -gasp.ttf
44
40
You can’t perform that action at this time.
0 commit comments