--- ttf-ocr-a-1.0.orig/sfd2bold.ff
+++ ttf-ocr-a-1.0/sfd2bold.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+ Open($argv[1])
+ ttfile = $fontname + "Bold"
+ Print("Making ",ttfile)
+ SetFontNames(ttfile,ttfile,$fontname+" Bold","Bold")
+ SelectAll()
+ if ($argc > 2)
+ ExpandStroke($2,0,0,0,5)
+ else
+ ExpandStroke(40,0,0,0,5)
+ endif
+ Save(ttfile+".sfd")
+ Close()
+else
+ Print("Usage: $0 font.sfd [width, default 40]")
+endif
--- ttf-ocr-a-1.0.orig/sfd2condensed.ff
+++ ttf-ocr-a-1.0/sfd2condensed.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+ Open($argv[1])
+ ttfile = $fontname + "Condensed"
+ Print("Making ",ttfile)
+ SetFontNames(ttfile,ttfile,$fontname+" Condensed","Condensed")
+ SelectAll()
+ if ($argc > 2)
+ Scale($2,100)
+ else
+ Scale(80,100)
+ endif
+ Save(ttfile+".sfd")
+ Close()
+else
+ Print("Usage: $0 font.sfd [condense, default 80%]")
+endif
--- ttf-ocr-a-1.0.orig/sfd2light.ff
+++ ttf-ocr-a-1.0/sfd2light.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+ Open($argv[1])
+ ttfile = $fontname + "Light"
+ Print("Making ",ttfile)
+ SetFontNames(ttfile,ttfile,$fontname+" Light","Light")
+ SelectAll()
+ if ($argc > 2)
+ ExpandStroke($2,0,0,0,6)
+ else
+ ExpandStroke(40,0,0,0,6)
+ endif
+ Save(ttfile+".sfd")
+ Close()
+else
+ Print("Usage: $0 font.sfd [width, default 40]")
+endif
--- ttf-ocr-a-1.0.orig/sfd2italic.ff
+++ ttf-ocr-a-1.0/sfd2italic.ff
@@ -0,0 +1,17 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+ Open($argv[1])
+ ttfile = $fontname + "Italic"
+ Print("Making ",ttfile)
+ SetFontNames(ttfile,ttfile,$fontname+" Italic","Italic")
+ SelectAll()
+ if ($argc > 2)
+ Skew($2)
+ else
+ Skew(10)
+ endif
+ Save(ttfile+".sfd")
+ Close()
+else
+ Print("Usage: $0 font.sfd [italic angle, default 10]")
+endif