Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Keep the OTF and TTF artifacts in their own folders. Remove -sp optio…

…n to makeotf as no one, including me, cares about the fpr files.
  • Loading branch information...
commit 5a55375045294553a124b1a19f6a255407c5d4be 1 parent b0efdcc
@ppicazo ppicazo authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 build.sh
View
10 build.sh
@@ -7,18 +7,20 @@ italicWeights=('BlackIt', 'BoldIt', 'ExtraLightIt', 'LightIt', 'It', 'SemiboldIt
# clean existing build artifacts
rm -rf target/
mkdir target/
+mkdir target/OTF/
+mkdir target/TTF/
for w in ${romanWeights[@]};
do
- makeotf -sp target/$family-$w-otf.fpr -f Roman/$w/font.pfa -r -o target/$family-$w.otf
- makeotf -sp target/$family-$w-ttf.fpr -f Roman/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/$family-$w.ttf
+ makeotf -f Roman/$w/font.pfa -r -o target/OTF/$family-$w.otf
+ makeotf -f Roman/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/TTF/$family-$w.ttf
rm Roman/$w/current.fpr # remove default options file from the source tree after building
done
for w in ${italicWeights[@]};
do
- makeotf -sp target/$family-$w-otf.fpr -f Italic/$w/font.pfa -r -o target/$family-$w.otf
- makeotf -sp target/$family-$w-ttf.fpr -f Italic/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/$family-$w.ttf
+ makeotf -f Italic/$w/font.pfa -r -o target/OTF/$family-$w.otf
+ makeotf -f Italic/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/TTF/$family-$w.ttf
rm Italic/$w/current.fpr # remove default options file from the source tree after building
done
Please sign in to comment.
Something went wrong with that request. Please try again.