diff options
Diffstat (limited to '')
-rwxr-xr-x | tests/input/font-psf-test/preflight | 19 | ||||
-rwxr-xr-x | tests/input/font-psf-test/preflightg | 7 |
2 files changed, 26 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 diff --git a/tests/input/font-psf-test/preflightg b/tests/input/font-psf-test/preflightg new file mode 100755 index 0000000..f7618cf --- /dev/null +++ b/tests/input/font-psf-test/preflightg @@ -0,0 +1,7 @@ +#!/bin/sh + +# Produce individual UFOs from Glyphs files +psfglyphs2ufo --nofea source/PsfTestRoman.glyphs source -l source/logs/glyphs2ufoR.log +psfglyphs2ufo --nofea source/PsfTestItalic.glyphs source -l source/logs/glyphs2ufoI.log + +./preflight
\ No newline at end of file |