Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: miguelsousa/SourceSansPro
base: 004271505b
...
head fork: miguelsousa/SourceSansPro
compare: 2cd266d634
  • 5 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 51 additions and 0 deletions.
  1. +25 −0 .gitignore
  2. +26 −0 build.sh
25 .gitignore
View
@@ -0,0 +1,25 @@
+target/
+Roman/Black/SourceSansPro-Black.otf
+Roman/Black/SourceSansPro-Black.ttf
+Roman/Bold/SourceSansPro-Bold.otf
+Roman/Bold/SourceSansPro-Bold.ttf
+Roman/ExtraLight/SourceSansPro-ExtraLight.otf
+Roman/ExtraLight/SourceSansPro-ExtraLight.ttf
+Roman/Light/SourceSansPro-Light.otf
+Roman/Light/SourceSansPro-Light.ttf
+Roman/Regular/SourceSansPro-Regular.otf
+Roman/Regular/SourceSansPro-Regular.ttf
+Roman/Semibold/SourceSansPro-Semibold.otf
+Roman/Semibold/SourceSansPro-Semibold.ttf
+Italic/BlackIt/SourceSansPro-BlackIt.otf
+Italic/BlackIt/SourceSansPro-BlackIt.ttf
+Italic/BoldIt/SourceSansPro-BoldIt.otf
+Italic/BoldIt/SourceSansPro-BoldIt.ttf
+Italic/ExtraLightIt/SourceSansPro-ExtraLightIt.otf
+Italic/ExtraLightIt/SourceSansPro-ExtraLightIt.ttf
+Italic/LightIt/SourceSansPro-LightIt.otf
+Italic/LightIt/SourceSansPro-LightIt.ttf
+Italic/It/SourceSansPro-It.otf
+Italic/It/SourceSansPro-It.ttf
+Italic/SemiboldIt/SourceSansPro-SemiboldIt.otf
+Italic/SemiboldIt/SourceSansPro-SemiboldIt.ttf
26 build.sh
View
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+family=SourceSansPro
+romanWeights=('Black' 'Bold' 'ExtraLight' 'Light' 'Regular' 'Semibold')
+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 -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 -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
+

No commit comments for this range

Something went wrong with that request. Please try again.