-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreflight
executable file
·22 lines (16 loc) · 1.06 KB
/
preflight
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# echo "--- Normalizing and updating production names in Regular..."
# psfsetpsnames -p checkfix=fix -i source/glyph_data.csv source/masters/BJCree-Regular.ufo
echo "--- Updating glyph orders in Regular..."
psfsetglyphorder --header sort_final -i source/glyph_data.csv source/masters/BJCree-Regular.ufo
echo "--- Normalizing Regular..."
psfnormalize -p scrlevel=w -p checkfix=fix source/masters/BJCree-Regular.ufo
echo "--- Normalizing Bold..."
psfnormalize -p scrlevel=w -p checkfix=fix source/masters/BJCree-Bold.ufo
# echo "--- Rebuilding composites..."
# psfbuildcomp -i source/composites.txt --colors="g_blue,g_purple" -n source/masters/BJCree-Regular.ufo -p backup=False
# psfbuildcomp -i source/composites.txt --colors="g_blue,g_purple" -n source/masters/BJCree-Bold.ufo -p backup=False
echo "--- Syncing glyph orders, psnames, and other metadata to other UFOs..."
psfsyncmasters source/BJCree.designspace
# echo "--- Updating WOFF metadata..."
# psfmakewoffmetadata -n "BJCree" -i "org.sil.fonts" -o source/BJCree-WOFF-metadata.xml source/masters/BJCree-Regular.ufo