home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / acad / c / hrsh2acd / readme < prev    next >
Text File  |  1988-07-18  |  8KB  |  183 lines

  1. Please read "README.OLD" for details of the original Hershey Font
  2. distribution via usenet from which font data contained in this
  3. distribution are derived.
  4.  
  5.  
  6. SOME BACKGROUND NOTES for this distribution:
  7.  
  8.     First, I realize that I have re-invented a wheel.  After I posted
  9.     an article offering the fonts on comp.sys.ibm.pc, someone pointed
  10.     out to me that the fonts available with AutoCAD Release 9 are
  11.     indeed derived from the Hershey Fonts.  So, if your intention is
  12.     to find NEW fonts for AutoCAD and you have Rel. 9, you should
  13.     forget about this distribution.
  14.  
  15.     However, if you are interested in obtaining public domain font
  16.     for applications other than AutoCAD, and you want the fonts
  17.     in "source" and open format as those in AutoCAD SHP format, this
  18.     is what you want.  I guess this distribution contains CLONES of
  19.     AutoCAD fonts in Release 9, giving you essentially the same thing
  20.     but ones which are in the PUBLIC DOMAIN.  (I assume AutoDesk does not
  21.     consider their fonts derived from Heshey Font in the public domain.)
  22.  
  23.     Because of the similarity of fonts in this distribution and those
  24.     that come with AutoCAD Rel. 9, I feel the need to demonstrate the
  25.     entire process from going from the usenet distribution (J. Hurt
  26.     format) to AutoCAD SHP files.  For this reason, this distribution
  27.     contains Font data in the form originally posted on usenet by
  28.     Pete Holzmann (mod.sources, Vol. 4 Issues 42-46, 4-1-86) but
  29.     rearranged in ASCII order for each font style (*.FNT), and
  30.     programs to convert them to *.SHP files.  You can do the conversion
  31.     yourself on your computer.  (So, AutoCAD people, please don't
  32.     bother me.)
  33.  
  34.     This distribution contains a couple of other programs which may
  35.     be useful if you intend to use the Fonts outside of AutoCAD.
  36.     Included are a simple font compiler, and a font display program
  37.     which uses this compiled font files.  Actually, this part 
  38.     was our primary purpose of doing this conversion.  We needed
  39.     public domain stroke (vector) fonts for use in our scientific
  40.     graphing package built into our data acquisition system.
  41.     The use of the AutoCAD SHP format is done mainly for making this
  42.     conversion effort more worthwhile.  Besides, we don't have to
  43.     write any documentation on encoding if we use this format:-).  And
  44.     we can incorporate other fonts for AutoCAD into our package if
  45.     such fonts are available.
  46.  
  47.     This distribution does not contain 'Plain' or 'Small' version
  48.     of the fonts in the original distribution, nor it contains any
  49.     of the 'oriental' or Japanese kanji and kana fonts.
  50.     If you need to get these in AutoCAD SHP format, you can get the
  51.     original usenet font distribution from the archive and pass them
  52.     through HRSH2ACD program.  It will not be too difficult to
  53.     modify HRSH2ACD.C to convert the Japanese fonts to AutoCAD
  54.     "bigfont" shape definitions.  Again, this will probably duplicate
  55.     what AutoDesk might have done for their Japanese version of AutoCAD.
  56.  
  57. USE RESTRICTION:
  58.     This distribution of the Hershey Fonts may be used by anyone for
  59.     any purpose, commercial or otherwise, providing that:
  60.  
  61.         1. The following acknowledgements must be distributed with
  62.             the font data:
  63.             - The Hershey Fonts were originally created by Dr.
  64.                 A. V. Hershey while working at the U. S.
  65.                 National Bureau of Standards.
  66.             - The format of the Font data in files "*.FNT"
  67.                 was originally created by
  68.                     James Hurt
  69.                     Cognition, Inc.
  70.                     900 Technology Park Drive
  71.                     Billerica, MA 01821
  72.                     (mit-eddie!ci-dandelion!hurt)
  73.             - The format conversion from J. Hurt format to
  74.                 AutoCAD SHP format was performed originally by
  75.                     Wayne C. Crawford
  76.                     c/o Izumi Ohzawa
  77.                     University of California, Berkeley
  78.                     360 Minor Hall
  79.                     Berkeley, CA 94720
  80.                     (izumi@violet.berkeley.edu)
  81.         2. The font data in this distribution may be converted into
  82.             any other format *EXCEPT* the format distributed by
  83.             the U.S. NTIS (which organization holds the rights
  84.             to the distribution and use of the font data in that
  85.             particular format). Not that anybody would really
  86.             *want* to use their format... each point is described
  87.             in eight bytes as "xxx yyy:", where xxx and yyy are
  88.             the coordinate values as ASCII numbers.
  89.  
  90. *PLEASE* be reassured: The legal implications of NTIS' attempt to control
  91. a particular form of the Hershey Fonts *are* troubling. HOWEVER: We have
  92. been endlessly and repeatedly assured by NTIS that they do not care what
  93. we do with our version of the font data, they do not want to know about it,
  94. they understand that we are distributing this information all over the world,
  95. etc etc etc... but because it isn't in their *exact* distribution format, they
  96. just don't care!!! So go ahead and use the data with a clear conscience! (If
  97. you feel bad about it, take a smaller deduction for something on your taxes
  98. next week...)
  99.  
  100. The Hershey Fonts:
  101.     - are a set of more than 2000 glyph (symbol) descriptions in vector 
  102.         ( <x,y> point-to-point ) format
  103.     - can be grouped as almost 20 'occidental' (english, greek,
  104.         cyrillic) fonts, 3 or more 'oriental' (Kanji, Hiragana,
  105.         and Katakana) fonts, and a few hundred miscellaneous
  106.         symbols (mathematical, musical, cartographic, etc etc)
  107.     - are suitable for typographic quality output on a vector device
  108.         (such as a plotter) when used at an appropriate scale.
  109.     - were digitized by Dr. A. V. Hershey while working for the U.S.
  110.         Government National Bureau of Standards (NBS).
  111.     - are in the public domain, with a few caveats:
  112.         - They are available from NTIS (National Technical Info.
  113.             Service) in a computer-readable from which is *not*
  114.             in the public domain. This format is described in
  115.             a hardcopy publication "Tables of Coordinates for
  116.             Hershey's Repertory of Occidental Type Fonts and
  117.             Graphic Symbols" available from NTIS for less than
  118.             $20 US (phone number +1 703 487 4763).
  119.         - NTIS does not care about and doesn't want to know about
  120.             what happens to Hershey Font data that is not
  121.             distributed in their exact format.
  122.         - This distribution is not in the NTIS format, and thus is
  123.             only subject to the simple restriction described
  124.             at the top of this file.
  125.  
  126. Hard Copy samples of the Hershey Fonts are best obtained by purchasing the
  127. book described above from NTIS. It contains a sample of all of the Occidental
  128. symbols (but none of the Oriental symbols).
  129.  
  130. This distribution:
  131.     - consists of the following files...
  132.     - C programs here are written with MSC 4.0.  It should be fairly
  133.         easy to make them work with MSC 5.x and Turbo C 1.5.
  134.  
  135.     *.FNT       - a 'occidental' subset of the Font data using the
  136.             original glyph-numbering but arranged in ASCII order
  137.             for each font styles.
  138.     
  139.     HERSHEY.DOC - details of the font data format of *.FNT, and other
  140.                   information on the contents of the entire Hershey
  141.             Font.
  142.  
  143.     HRSH2ACD.C  - a program to convert J. Hurt format font (*.FNT) to
  144.             AutoCAD (*.SHP) format.  The code is complete and
  145.             no other module is necessary for linking.
  146.  
  147.     FONTX.C     - a simple font compiler which converts ASCII AutoCAD (SHP)
  148.             files to packed binary format (*.XSH) for fast loading
  149.             and drawing.  "*.XSH" files are totally different
  150.             from AutoCAD compiled font files (*.SHX), and support
  151.             minimal subset of SHP definitions.  For example,
  152.             there is no support for ARCs and position push/pop, etc.
  153.             The code is complete, so you may just compile and link
  154.             this file.
  155.  
  156.     FONTDEMO.C  - a program to display compiled font (*.XSH) on IBM PC
  157.             CGA/EGA.  This program requires simple graphics
  158.             primitives, example of which is in CXYIBMPC.C below
  159.             for CGA/EGA.
  160.  
  161.     CXYIBMPC.C  - a CGA/EGA drawing C functions for use with FONTDEMO.C.
  162.             This module does screen plotting via BIOS put
  163.             dot functions, hence is extreeeeeemely slooooow.
  164.             Replace drawing primitives with fast ones available
  165.             elsewhere.  I assume you can replace this module with
  166.             MSC 5.x graphics functions to improve the speed a lot.
  167.  
  168.     *.EXE       -   Executables of the above 3 programs
  169.             
  170. How to run programs:
  171.  
  172.     To convert 'ROMANT.FNT' to 'ROMANT.SHP';
  173.         C:\> HRSH2ACD ROMANT.FNT <--
  174.  
  175.     To compile 'ROMANT.SHP' to 'ROMANT.XSH';
  176.         C:\> FONTX ROMANT.SHP <--
  177.  
  178.     To display compiled font on IBM PC with CGA/EGA;
  179.         C:\> FONTDEMO ROMANT.XSH <--
  180.  
  181. Enjoy!
  182.  
  183.