diff options
Diffstat (limited to 'tests/input/font-psf-test/preflight')
-rwxr-xr-x | tests/input/font-psf-test/preflight | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/input/font-psf-test/preflight b/tests/input/font-psf-test/preflight new file mode 100755 index 0000000..9a63416 --- /dev/null +++ b/tests/input/font-psf-test/preflight @@ -0,0 +1,19 @@ +#!/bin/sh + +# This normalization will also run check and fix routines +psfnormalize -p checkfix=fix source/PsfTest-Regular.ufo -l source/logs/normR.log +psfnormalize -p checkfix=fix source/PsfTest-Bold.ufo -l source/logs/normB.log +psfnormalize -p checkfix=fix source/PsfTest-Italic.ufo -l source/logs/normI.log +psfnormalize -p checkfix=fix source/PsfTest-BoldItalic.ufo -l source/logs/normBI.log + +# Building composites - needs to be done after normalization or may complain due to bad anchor coordinates +psfbuildcomp -i source/composites.txt source/PsfTest-Regular.ufo -l source/logs/compsR.log +psfbuildcomp -i source/composites.txt source/PsfTest-Bold.ufo -l source/logs/compsB.log +psfbuildcomp -i source/composites.txt source/PsfTest-Italic.ufo -l source/logs/compsI.log +psfbuildcomp -i source/composites.txt source/PsfTest-BoldItalic.ufo -l source/logs/compsBI.log + +psfsetpsnames -i source/glyph_data.csv source/PsfTest-Regular.ufo -l source/logs/psnames.log +psfsetglyphorder --header sort_final -i source/glyph_data.csv source/PsfTest-Regular.ufo -l source/logs/sortorder.log + +# Following sync will copy psnames and glyphorder updates to all fonts +psfsyncmasters source/PsfTestRoman.designspace source/PsfTestItalic.designspace -l source/logs/sync.log |