[comp.fonts] Format of Hershey fonts?

jantypas@hope.UUCP (John Antypas) (06/21/88)

Does anyone out there happen to know the format of Hershey fonts?  The
example programs tell me very little and I'd like to incorperate them in
my graphics package.

John Antypas -- Soft21 --21st Century Software:

UUCP: {buita, crash, garp, killer, pyramid}!soft21!jantypas
      {reed, sdeggo, ucsd!ucrmath, uport}!soft21!jantypas
Internet: jantypas%soft21.uucp@{garp.MIT.EDU, ucsd.EDU}
BITNET: jantypas@ucrvms

ken@cs.rochester.edu (Ken Yap) (06/21/88)

|Does anyone out there happen to know the format of Hershey fonts?  The
|example programs tell me very little and I'd like to incorperate them in
|my graphics package.

You probably already know they are vector fonts.

It depends on where you got your fonts from.  If you got them from the
official tape, the description should be with the documentation (pairs
of x,y coordinates, I think).  If you got them from Usenet, the
displacements are encoded as letters, centered around 'R'.  Columns 1
to 5 are the character number, 6 to 8 is the number of points, then 3
characters per point, the first indicating pen up or down.  This
encoding was chosen to be more compact and to satisfy legal requirements.

Look at the programs again, or grab a few more of the programs that
were posted to Usenet. The information is there.

	Ken