diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xits/build.py')
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/build.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/xits/build.py b/Master/texmf-dist/doc/fonts/xits/build.py new file mode 100644 index 00000000000..1575ec2ef9c --- /dev/null +++ b/Master/texmf-dist/doc/fonts/xits/build.py @@ -0,0 +1,13 @@ +import sys +try: + from sortsmill import ffcompat as fontforge +except ImportError: + import fontforge + +font = fontforge.open(sys.argv[1]) + +if len(sys.argv) > 4: + font.mergeFeature(sys.argv[4]) + +font.version = sys.argv[3] +font.generate(sys.argv[2], flags=("round", "opentype")) |