Newsgroups: comp.sys.apollo
From: anthonyb@comm.mot.com (UK478 Anthony Bowles)
Subject: which font utility
Organization: Motorola LMPS Basingstoke
Date: Tue, 26 Oct 1993 09:54:35 GMT

A little C program to display which font is currently enabled. It's been
built and tested on BSD4.3 with SR10.3.

It can be useful if you have a script that wants to change fonts
only temporarily while it puts some DM pads up.

You can use it like this :

#!/bin/ksh

# store currently selected font
original_font=$(which_font)
# change to different font temporarily
xdmc fl ...

# script body
...

# revert font
xdmc fl $original_font

Hope it comes in useful !
