diff options
author | Daniel Baumann <daniel@debian.org> | 2024-11-21 15:00:40 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-21 15:00:40 +0100 |
commit | 012d9cb5faed22cb9b4151569d30cc08563b02d1 (patch) | |
tree | fd901b9c231aeb8afa713851f23369fa4a1af2b3 /tests/input/font-psf-test/preflight | |
parent | Initial commit. (diff) | |
download | pysilfont-upstream.tar.xz pysilfont-upstream.zip |
Adding upstream version 1.8.0.upstream/1.8.0upstream
Signed-off-by: Daniel Baumann <daniel@debian.org>
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 |