@@ -6,25 +6,28 @@ ro_name=SourceSerifVariable-Roman
66
77# build variable OTFs
88buildMasterOTFs $rom /$ro_name .designspace
9- buildCFF2VF $rom /$ro_name .designspace
9+ buildCFF2VF -p $rom /$ro_name .designspace
1010
1111# extract and subroutinize the CFF2 table
12- tx -cff2 +S +b -std $rom /$ro_name .otf $rom /.tb_cff2
12+ echo ' Subroutinizing' $rom /$ro_name .otf
13+ tx -cff2 +S +b -std $rom /$ro_name .otf $rom /.tb_cff2 2> /dev/null
1314
1415# replace CFF2 table with subroutinized version
15- sfntedit -a CFF2=$rom /.tb_cff2 $rom /$ro_name .otf
16+ sfntedit -a CFF2=$rom /.tb_cff2 $rom /$ro_name .otf 1> /dev/null
1617
1718# build variable TTFs
1819fontmake -m $rom /$ro_name .designspace -o variable --production-names
1920
2021# use DSIG, name, OS/2, hhea, post, and STAT tables from OTFs
21- sfntedit -x DSIG=$rom /.tb_DSIG,name=$rom /.tb_name,OS/2=$rom /.tb_os2,hhea=$rom /.tb_hhea,post=$rom /.tb_post,STAT=$rom /.tb_STAT $rom /$ro_name .otf
22- sfntedit -a DSIG=$rom /.tb_DSIG,name=$rom /.tb_name,OS/2=$rom /.tb_os2,hhea=$rom /.tb_hhea,post=$rom /.tb_post,STAT=$rom /.tb_STAT $rom /$ro_name .ttf
22+ sfntedit -x DSIG=$rom /.tb_DSIG,name=$rom /.tb_name,OS/2=$rom /.tb_os2,hhea=$rom /.tb_hhea,post=$rom /.tb_post,STAT=$rom /.tb_STAT $rom /$ro_name .otf 1> /dev/null
23+ sfntedit -a DSIG=$rom /.tb_DSIG,name=$rom /.tb_name,OS/2=$rom /.tb_os2,hhea=$rom /.tb_hhea,post=$rom /.tb_post,STAT=$rom /.tb_STAT $rom /$ro_name .ttf 1> /dev/null
2324
2425# use cmap, GDEF, GPOS, and GSUB tables from TTFs
25- sfntedit -x cmap=$rom /.tb_cmap,GDEF=$rom /.tb_GDEF,GPOS=$rom /.tb_GPOS,GSUB=$rom /.tb_GSUB $rom /$ro_name .ttf
26- sfntedit -a cmap=$rom /.tb_cmap,GDEF=$rom /.tb_GDEF,GPOS=$rom /.tb_GPOS,GSUB=$rom /.tb_GSUB $rom /$ro_name .otf
26+ sfntedit -x cmap=$rom /.tb_cmap,GDEF=$rom /.tb_GDEF,GPOS=$rom /.tb_GPOS,GSUB=$rom /.tb_GSUB $rom /$ro_name .ttf 1> /dev/null
27+ sfntedit -a cmap=$rom /.tb_cmap,GDEF=$rom /.tb_GDEF,GPOS=$rom /.tb_GPOS,GSUB=$rom /.tb_GSUB $rom /$ro_name .otf 1> /dev/null
2728
2829# delete build artifacts
2930rm * /Masters/.tb_*
3031rm * /Masters/master_* /* .* tf
32+
33+ echo " Done"
0 commit comments