sfd2condensed.ff | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
--- 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