Subject: running the X server without xfs
To: None <port-pmax@NetBSD.ORG>
From: Arne Henrik Juul <arnej@stud.math.ntnu.no>
List: port-pmax
Date: 11/26/1997 00:19:03
For those who want to run the X server without using accessing
the fonts via the font server, here's a script to convert the
fonts distributed to something the server can handle.

  -  Arne H. J.

#!/bin/sh
for x in  /usr/X11R6/lib/X11/fonts/* ; do
	(cd $x
	echo fixing $x...
	# X11R5 server can't handle compressed fonts
	if [ "`echo *.pcf.gz`" != '*.pcf.gz' ] ; then
		gzip -f -d *.pcf.gz
		mkfontdir .
	fi
	if [ -f fonts.alias ]; then
		chmod u+w fonts.alias
		# X11R5 server can't handle comments in fonts.alias
		ed fonts.alias << 'EOF'
g/^!/d
w
q
EOF
	fi
	)
done