aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/tools/Tecate-bitmap-fonts/bitmap/artwiz/bdf/makepcf.sh
blob: dde674c30e5d64f71b6a02bdc5f02d8dc64ff818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# This script will generate pcf files out of bdf.
# You need bdftopcf utility for that.

LIST=`ls -la *.bdf | awk '{print $9}'`
for font in $LIST
do
	pcf=`echo $font | cut -d'.' -f1`
	pcf="$pcf.pcf"
	bdftopcf -o $pcf $font
done;