#!/bin/sh

fontlist=`./pullfonts.awk < ../install/lang.c | tail +3 | grep '{' | 
	cut -d\" -f6 | grep '[A-Za-z]' | sort -u`

rm -rf fonts
mkdir -p fonts

for n in $fontlist; do
    echo $n
    setfont $n
    ../install/snarffont > fonts/$n
done

setfont

(cd fonts; ls * | cpio -o -H crc) | gzip -9 > fonts.cgz
