File tree Expand file tree Collapse file tree 3 files changed +27
-7
lines changed
Expand file tree Collapse file tree 3 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/env sh
2+
3+ # build the TTF version -- this requires a customized version of fontmake which
4+ # is available at https://github.com/adobe-type-tools/fontmake
5+ fontmake -m RomanMasters/AdobeVFPrototype.designspace -o variable --production-names
6+ mv RomanMasters/AdobeVFPrototype-Variable.ttf AdobeVFPrototype.ttf
7+
8+ # patch GSUB table, to add <FeatureVariations>
9+ # this enables the transitional glyphs dollar and cent
10+ ttx -o AdobeVFPrototype.ttf -m AdobeVFPrototype.ttf GSUB_patch.ttx
11+
12+ # build the OTF version -- this requires an experimental build of the AFDKO which
13+ # is available at http://www.adobe.com/devnet/opentype/afdko/AFDKO-Variable-Font-Support.html
14+ buildMasterOTFs RomanMasters/AdobeVFPrototype.designspace
15+ buildCFF2VF RomanMasters/AdobeVFPrototype.designspace AdobeVFPrototype.otf
16+ rm RomanMasters/master_* /current.fpr
17+
18+ # replace the name, GPOS and GSUB tables in the OTF font by the ones from the TTF
19+ sfntedit -x name=.tb_name,GPOS=.tb_GPOS,GSUB=.tb_GSUB AdobeVFPrototype.ttf
20+ sfntedit -a name=.tb_name,GPOS=.tb_GPOS,GSUB=.tb_GSUB AdobeVFPrototype.otf
21+
22+ # copy the DSIG table in the OTF font into the TTF
23+ sfntedit -x DSIG=.tb_DSIG AdobeVFPrototype.otf
24+ sfntedit -a DSIG=.tb_DSIG AdobeVFPrototype.ttf
25+
26+ # delete temporary files
27+ rm .tb_*
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments