Hershey Fonts
=============

Hershey Fonts are vector fonts developed in 1967 by Dr. Allen Vincent Hershey.

They are in the public domanin but with the next restricition (extracted from
the original distribution):

***************************************************************************
USE RESTRICTION:
        This distribution of the Hershey Fonts may be used by anyone for
        any purpose, commercial or otherwise, providing that:
                1. The following acknowledgements must be distributed with
                        the font data:
                        - The Hershey Fonts were originally created by Dr.
                                A. V. Hershey while working at the U. S.
                                National Bureau of Standards.
                        - The format of the Font data in this distribution
                                was originally created by
                                        James Hurt
                                        Cognition, Inc.
                                        900 Technology Park Drive
                                        Billerica, MA 01821
                                        (mit-eddie!ci-dandelion!hurt)
                2. The font data in this distribution may be converted into
                        any other format *EXCEPT* the format distributed by
                        the U.S. NTIS (which organization holds the rights
                        to the distribution and use of the font data in that
                        particular format). Not that anybody would really
                        *want* to use their format... each point is described
                        in eight bytes as "xxx yyy:", where xxx and yyy are
                        the coordinate values as ASCII numbers.

*PLEASE* be reassured: The legal implications of NTIS' attempt to control
a particular form of the Hershey Fonts *are* troubling. HOWEVER: We have
been endlessly and repeatedly assured by NTIS that they do not care what
we do with our version of the font data, they do not want to know about it,
they understand that we are distributing this information all over the world,
etc etc etc... but because it isn't in their *exact* distribution format, they
just don't care!!! So go ahead and use the data with a clear conscience! (If
you feel bad about it, take a smaller deduction for something on your taxes
next week...)
***************************************************************************

The files in this distribution are:

ORIGINAL FONTS
==============
occidtl.jhf     roman, greek, cyrillic & symbols glyphs
japanese.jhf    kanji, hiragana & katagana glyphs

CUSTOMIZED FONTS
================
They are subsets of "occidtl.jhf" that forms usable fonts

ASCII fonts (first glyph is ASCII 32)
-----------
gothgbt.jhf     gothic british triplex
gothgrt.jhf     gothic german triplex
gothitt.jhf     gothic italian triplex
italicc.jhf     italic complex
italiccs.jhf    italic complex small
italict.jhf     itaĺic triplex
romanc.jhf      roman complex
romancs.jhf     roman complex
romand.jhf      roman duplex small
romanp.jhf      roman plain (small, no lower case)
romans.jhf      roman simplex
romant.jhf      roman triplex
scriptc.jhf     script complex
scripts.jhf     script simplex

ISO-8859-7 fonts, ASCII+Greek
(only with the greek glyphs available) 
(first glyph is ASCII 32)
--------------------------------------
iso7c.jhf       complex
iso7cs.jhf      small complex
iso7p.jhf       plain (small, no lower case)
iso7s.jhf       simplex

ISO-8859-5 fonts, ASCII+Cyrillic
(only with the cyrillic glyphs available) 
(first glyph is ASCII 32)
-----------------------------------------
iso5c.jhf       complex


Format of Hershey glyphs
========================

5 bytes - glyphnumber
3 bytes - length of data including left&right numbers
1 byte  - x value of left margin
1 byte  - x value of right margin
(length*2)-2 bytes      - stroke data

left&right margins and stroke data are biased by the value of the letter 'R'
Subtract the letter 'R' to get the data.

e.g. if the data byte is 'R', the data is 0
     if the data byte is 'T', the data is +2
     if the data byte is 'J', the data is -8

and so on...

The coordinate system is x-y, with the origin (0,0) in the center of the
glyph.  X increases to the right and y increases *down*.

The stroke data is pairs of bytes, one byte for x followed by one byte for y.

A ' R' in the stroke data indicates a 'lift pen and move' instruction.
