Skip to content

Commit

Permalink
tidy up preflight and preflightg
Browse files Browse the repository at this point in the history
  • Loading branch information
bobh0303 committed Mar 8, 2018
1 parent ccbdb3c commit c9f819f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
*.xml text eol=lf

preflight text eol=lf
preflightg text eol=lf
wscript text eol=lf

# Declare text files that will stay in LF (i.e. not expected to be used on Windows)
Expand Down
12 changes: 6 additions & 6 deletions preflight
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Place this in root of a project, adjust the font path, then set it to be executable by typing:
# chmod +x preflight

# This section contains commands used occasionally
# psfsetpsnames -i tools/data/glyph_data.csv source/Akatab-Regular_beta.ufo
echo
echo "Setting glyph order..."
psfsetglyphorder -p checkfix=none -i source/glyphorder.txt source/AwamiNastaliq-Regular.ufo

# This section contains commands that run every time
psfsetglyphorder -i source/glyphorder.txt source/AwamiNastaliq-Regular.ufo

psfnormalize source/AwamiNastaliq-Regular.ufo
echo
echo "Normalising UFO..."
psfnormalize -p checkfix=fix source/AwamiNastaliq-Regular.ufo
12 changes: 2 additions & 10 deletions preflightg
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@
# Place this in root of a project, adjust the font path, then set it to be executable by typing:
# chmod +x preflight

# This section contains commands used occasionally
# psfsetpsnames -i tools/data/glyph_data.csv source/Akatab-Regular_beta.ufo

# This section contains commands that run every time
echo
echo "Converting Glyphs to UFO3..."
psfglyphs2ufo source/AwamiNastaliq-Regular.glyphs source

echo
echo "Setting glyph order..."
psfsetglyphorder -p checkfix=none -i source/glyphorder.txt source/AwamiNastaliq-Regular.ufo

echo
echo "Normalising UFO..."
psfnormalize -p checkfix=fix source/AwamiNastaliq-Regular.ufo
# Continue with normal preflight
./preflight

0 comments on commit c9f819f

Please sign in to comment.