* Process `10x20' too. (It was shifted down a pixel during the
conversion; we don't undo this, yet. So far, we just fix the quotes.)
* Document in Description that we process some other font sizes too.
+ * mkrules can consume .bdf.direct, or .sfd files.
-- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Apr 2016 22:07:21 +0100
pcf)
pcf=$rest
for f in good bad; do
+ in=$f/$pcf.pcf.gz
out=$f/$pcf.bdf
- zcat $f/$pcf.pcf.gz | pcf2bdf >$out
+ if [ -e $in ]; then
+ zcat $in | pcf2bdf >$out
+ elif [ -e "$out.direct" ]; then
+ cp "$out.direct" "$out"
+ elif [ -e "$f/$pcf.sfd" ]; then
+ ./ffconvert.pe "$f/$pcf"
+ # 1. fontforge writes a silly filename
+ # 2. our crappy machinery copes only
+ # with BDFs from pcf2bdf, not from
+ # fontforge
+ bdftopcf <"$f/$pcf".BDF*.bdf |pcf2bdf >$out
+ else
+ echo >&2 "cannot make $out!"
+ exit 1
+ fi
eval "$f=\$out"
done
;;