-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreflight
executable file
·25 lines (18 loc) · 1.12 KB
/
preflight
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
echo "-----Normalizing Regular UFO..."
echo "-----Updating production names in Regular..."
psfsetpsnames -p checkfix=fix -i source/glyph_data.csv source/masters/Kedebideri-Regular.ufo
echo "-----Updating glyph orders in Regular..."
psfsetglyphorder -q --header sort_final -i source/glyph_data.csv source/masters/Kedebideri-Regular.ufo -p backup=False
echo "-----Normalizing other weights..."
psfnormalize -p checkfix=fix source/masters/Kedebideri-Bold.ufo
echo "-----Rebuilding composites..."
psfbuildcomp -i source/composites.txt -c -n source/masters/Kedebideri-Regular.ufo -p backup=False
psfbuildcomp -i source/composites.txt -c -n source/masters/Kedebideri-Bold.ufo -p backup=False
echo "-----Updating woff metadata file..."
psfmakewoffmetadata -q -n "Kedebideri" -i "org.sil.fonts" source/masters/Kedebideri-Regular.ufo
echo "Building internal fea..."
makefea -o source/masters/Kedebideri-Regular.ufo/features.fea -i source/opentype/main.feax source/masters/*-Regular.ufo &
makefea -o source/masters/Kedebideri-Bold.ufo/features.fea -i source/opentype/main.feax source/masters/*-Bold.ufo &
wait
echo "-----Preflight completed!"