summaryrefslogtreecommitdiff
path: root/dviware/quicspool/wbfonts/makefonts
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/quicspool/wbfonts/makefonts')
-rw-r--r--dviware/quicspool/wbfonts/makefonts30
1 files changed, 30 insertions, 0 deletions
diff --git a/dviware/quicspool/wbfonts/makefonts b/dviware/quicspool/wbfonts/makefonts
new file mode 100644
index 0000000000..90ccf303bc
--- /dev/null
+++ b/dviware/quicspool/wbfonts/makefonts
@@ -0,0 +1,30 @@
+#! /bin/sh
+# $Header: makefonts,v 1.1 88/01/15 13:12:19 simpson Rel $
+# $Log: makefonts,v $
+#Revision 1.1 88/01/15 13:12:19 simpson
+#initial release
+#
+#Revision 0.1 88/01/15 13:11:04 simpson
+#beta test
+#
+# Creates the sizes
+# 4 to 20
+# 22 to 36 step 2
+# 40 to 48 step 4
+# using METAFONT
+fontlist="`grep '^fonts' DESC | sed 's/fonts [0-9][0-9]* //'`"
+for font in $fontlist; do
+ i=4
+ while [ $i -le 48 ];do
+# Use mode type imagen for a write-black engine
+ mf '\mode:=imagen;' "mag:=$i/10;" input $font
+ gftopk $font.`expr $i \* 300 / 10`gf
+ if [ $i -ge 20 -a $i -le 34 ]; then
+ i=`expr $i + 2`
+ elif [ $i -ge 36 ]; then
+ i=`expr $i + 4`
+ else
+ i=`expr $i + 1`
+ fi
+ done
+done