home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / fonts-faq / part5 < prev    next >
Internet Message Format  |  1993-09-22  |  26KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!spool.mu.edu!caen!nic.umass.edu!ymir.cs.umass.edu!ymir.cs.umass.edu!usenet
  2. From: walsh@cs.umass.edu (Norman Walsh)
  3. Newsgroups: comp.fonts,news.answers
  4. Subject: comp.fonts FAQ: MS-DOS Info
  5. Supersedes: <font-faq-5_748294975@cs.umass.edu>
  6. Followup-To: poster
  7. Date: 22 Sep 1993 15:12:02 GMT
  8. Organization: Dept. of Computer Science, Univ. of Mass (Amherst)
  9. Lines: 593
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 5 Nov 1993 15:10:25 GMT
  13. Message-ID: <font-faq-5_748710625@cs.umass.edu>
  14. References: <font-faq-1_748710625@cs.umass.edu>
  15. Reply-To: walsh@cs.umass.edu (Norman Walsh)
  16. NNTP-Posting-Host: ibis.cs.umass.edu
  17. Summary: This posting answers frequently asked questions about fonts.
  18.          It addresses both general font questions and questions that
  19.          are specific to a particular platform.
  20. Xref: senator-bedfellow.mit.edu comp.fonts:10175 news.answers:12790
  21.  
  22. Archive-name: fonts-faq/part5
  23. Version: 2.0.2
  24.  
  25. Subject: 3. MS-DOS Information
  26.   
  27.   The easiest way to get outline fonts under MS-DOS is with Microsoft
  28.   Windows 3.x or OS/2 2.x.
  29.   
  30.   Microsoft Windows 3.0 with Adobe Type Manager (ATM) and OS/2 2.0
  31.   support PostScript Type1 fonts.
  32.   
  33.   Microsoft Windows 3.1 supports TrueType fonts natively.
  34.   
  35.   Bitmap fonts are available in a variety of formats: most formats are
  36.   designed with the printer in mind and not the display since (prior to
  37.   graphical environments like Windows, GEM, and OS/2) the majority of
  38.   work under MS-DOS was done with a character-based interface.
  39.   
  40. Subject: 3.1. Frequently Requested MS-DOS fonts
  41.   
  42.   Many fonts are available at various archives.  The biggest font archive
  43.   for MS-DOS format fonts is ftp.cica.indiana.edu.  Note: you can use any
  44.   Mac format Type1 font on your PC by converting it to PC format with the
  45.   free/shareware as described below.
  46.   
  47.   The following fonts are in Type 1 format for MS-DOS. Some are also
  48.   available in TrueType format.
  49.   
  50.      * Hebrew
  51.   
  52.        ShalomScript, ShalomOldStyle, ShalomStick
  53.   
  54.      * Japanese
  55.   
  56.        Shorai
  57.   
  58.      * Star Trek
  59.   
  60.        Crillee, TNG monitors
  61.   
  62.      * IBM OEM Line Drawing Characters
  63.   
  64.        Try Adobe PrestigeElite or Adobe LetterGothic. They have all the
  65.        characters you want, but the `line draw' characters are unencoded
  66.        -- you will need tools to reencode the outline font itself and
  67.        make a new PFM metric files.
  68.   
  69.        Or try IBMExtended from Impramatur Systems in Cambridge, Mass.  It
  70.        already is encoded using IBM OEM encoding (some DOS code page).
  71.   
  72.        The IBM version of Courier distributed freely under the X11
  73.        Consortium also contains the appropriate characters.  Again, the
  74.        font will have to be reencoded for Windows.  Appropriate AFM files
  75.        for this font can be obtained from:
  76.        ibis.cs.umass.edu:/pub/norm/comp.fonts.  The file is called
  77.        IBM-Courier-PC8-SymbolSet-AFMs.zip.
  78.   
  79.        Lee Cambell suggests the following alternative:
  80.   
  81.        Line Drawing characters are also available on ftp sites as
  82.        gc0651.exe which is a self-expanding archive. It is on cica (and
  83.        mirrors thereof). From the text file that comes with it, it looked
  84.        like it was distributed by Microsoft.  I printed some text in the
  85.        normal A-z range and it looked identical to the truetype Courier
  86.        font distributed with Windows. Perhaps it is an upgrade to that
  87.        font. I didn't try the linedraw glyphs, so I can't say how they
  88.        look.
  89.   
  90. Subject: 3.2. MS-DOS Font Installation
  91.   
  92.   If you have any information that you feel belongs in this section, it
  93.   would be greatly appreciated.
  94.   
  95.      * Windows
  96.   
  97.           * Pat Farrell contributes the following description of font
  98.             installation       under Windows.
  99.   
  100.             Installing Fonts into Windows:
  101.   
  102.             This only covers Windows 3.1 with ATM. Font is a four-letter
  103.             word in Windows versions prior to 3.1 due to the distinctions
  104.             between screen fonts and printer fonts. The upgrade price of
  105.             Windows 3.1 is justified by the integration of TrueType into
  106.             the package and the inclusion of useful fonts for all
  107.             printers.
  108.   
  109.             Commercial fonts usually have installation instructions with
  110.             their manuals. The approach may differ from the method used
  111.             for PD and shareware fonts.
  112.   
  113.             To install PD and shareware fonts in Windows 3.1:
  114.   
  115.               1. Copy the fonts onto a suitable scratch area (i.e. a
  116.                  floppy, or any       temporary area of your hard disk.
  117.   
  118.               2. Execute "Control Panel" by double-clicking on the icon
  119.                  in the       Windows Program Manager's "main" group.
  120.   
  121.               3. Double-click on the Fonts icon.
  122.   
  123.               4. Double-click on the "Add" button.
  124.   
  125.               5. Select the scratch directory holding the new fonts.
  126.   
  127.               6. A list of the fonts will be displayed. You can manually
  128.                  select the       fonts you like, or you can use the
  129.                  "Select All" button.
  130.   
  131.               7. Make sure the "Copy Fonts to Windows Directory"
  132.                  check-box is       checked. This will copy the fonts
  133.                  from the scratch area to your       Windows directory.
  134.   
  135.               8. Click on the "Ok" button.
  136.   
  137.           * Special notes for Windows applications:
  138.   
  139.             Word for Windows (W4W) stores font/printer information in its
  140.             own initialization files. After you add new fonts, you have
  141.             to tell W4W that the printer can use the new fonts. Do this
  142.             by selecting "Printer Setup" from the W4W main "File" menu
  143.             item, click on the "Setup" button, and then click on two "Ok"
  144.             buttons to back out of the setup mode.
  145.   
  146.           * Note concerning Windows 3.1 upgrade:
  147.   
  148.             There are two upgrade packages available from Microsoft for
  149.             Win3.1.  There is the standard version which contains
  150.             TrueType support, and about six font families (Times New
  151.             Roman, Arial, Courier, Symbols, Wingdings, etc.). It costs
  152.             something like $50 (US). The second version contains a number
  153.             of TrueType fonts that includes equivalents for the 35
  154.             standard Postscript fonts. This adds an additional $50, which
  155.             is a pretty good value.  However, if you plan on buying
  156.             Microsoft's PowerPoint, it includes the same additional
  157.             fonts/typefaces. So you can save money by not buying the
  158.             fonts twice.
  159.   
  160.           * More about Windows
  161.   
  162.                * [Q:] Why are don't the TrueType fonts that come with
  163.                  Microsoft products    (Word-for-Windows, PowerPoint,
  164.                  Windows 3.1 TrueType Font Pack, etc.)    display and
  165.                  print properly on my system?
  166.   
  167.                * [A:] The font matching algorithm in Win3.1 is fairly
  168.                  simplistic.  If you    install lots of TrueType fonts,
  169.                  the algorithm can get confused. In    this case, "lots"
  170.                  is more than 50 or so.
  171.   
  172.           * According to Luann Vodder who supports Microsoft Word on
  173.             CompuServ:
  174.   
  175.             "There is a procedure which Windows must go through when an
  176.             application requests a font.  Each font contains a list of
  177.             attributes such as Family, FaceName, Height, Width,
  178.             Orientation, Weight, Pitch, etc.  When an application
  179.             requests a font, it fills out a logical font for Windows
  180.             containing the necessary attributes, then starts going
  181.             through a font mapping algorithm to determine which of the
  182.             installed fonts most closely matches the requested (logical)
  183.             font.  Penalties are applied against fonts whose attributes
  184.             do not match the logical font, until the fonts with the
  185.             fewest penalties are determined.  If there is a "tie",
  186.             Windows may need to rely on the order of the fonts in the
  187.             WIN.INI file to determine the "winner".
  188.   
  189.             If the fonts you want are in your WIN.INI file, and show up in
  190.             Windows' Control Panel, then try moving them higher in your
  191.             WIN.INI file with a file edittor such as SYSEDIT."
  192.   
  193.           * Kesh Govinder suggested the following warning:
  194.   
  195.             CAUTION: While many Windows 3.1 users would like to have many
  196.             TrueType fonts at their disposal (and they are many available
  197.             in the PD) a word of caution.  A large number (>50) TT fonts
  198.             will slow down your windows startup time.  This occurs as
  199.             every installed font is listed in the win.ini file, and
  200.             Windows has to go through the entire file before starting up.
  201.             While this may not affect most users, it will especially
  202.             affect users of CorelDraw!, so be warned.
  203.   
  204.      * Other Programs
  205.   
  206.        It is an unfortunate fact that almost all MS-DOS programs do things
  207.        differently.  Your best bet is to read the manual that comes with
  208.        the program you want to use.
  209.   
  210. Subject: 3.3. What exactly are the encodings of the DOS code pages?
  211.   
  212.   DOS uses `code pages' for `IBM OEM' encoding of fonts.  There are six
  213.   code pages supplied with DOS 5.0:
  214.   
  215.          437 (English)
  216.          850 (Multilingual - Latin I)
  217.          852 (Slavic - Latin II)
  218.          860 (Portugal)
  219.          863 (Canadian French)
  220.          865 (Nordic)
  221.   
  222.   (The character code range 0 - 127 is the same in all code pages).
  223.   
  224.   The problem is that MS idea of how to define what a code page is, is to
  225.   show a low resolution print out of the glyphs!   Which is fine for the
  226.   letters of the alphabet, numerals and the obvious punctuation marks,
  227.   but worthless for accents (is it `cedilla' or `ogonek'? is it `caron'
  228.   or `breve'?) and many other characters.  For example, 249 is a small
  229.   dot, while 250 is a slightly larger dot.  Is one of these supposed to
  230.   be `bullet' (which already occurs at 7)?  Or is one of them maybe
  231.   supposed to be `middot' or `dotcentered'?  Is 228 supposed to be
  232.   `Sigma' or `summation'. Is 225 supposed to be `beta' or `germandbls'?
  233.   Etc etc
  234.   
  235.   And what is the character that looks like `Pt' in code position 158?
  236.   
  237.   Anyway, surely there is a table somewhere that defines precisely what
  238.   these encodings are supposed to be.  That is, a table that gives for
  239.   each code number the name and/or a description of the character.
  240.   
  241. Subject: 3.4. MS-DOS Font Utilities
  242.   
  243.      * PS2PK
  244.   
  245.        PS2PK allows you to convert PostScript Type1 fonts into bitmap
  246.        fonts.  The bitmap files produced are in TeX PK format.
  247.   
  248.      * PKtoSFP
  249.   
  250.        PKtoSFP allows you to convert TeX PK fonts into HP LaserJet
  251.        softfonts.
  252.   
  253.      * PFBDir/PFBInfo
  254.   
  255.        PFBDir and PFBInfo format and display the "headers" in a binary
  256.        Type1 font.
  257.   
  258. Subject: 3.5. Converting fonts under MS-DOS
  259.   
  260. Subject: 3.5.1. Converting Mac Type 1 fonts to MS-DOS format
  261.   
  262.   Converting Macintosh Type1 fonts into PC Type1 fonts can be done using
  263.   purely free/shareware tools.  I've outlined the procedure below.  Make
  264.   sure you read the "readme" files that accompany many fonts.  Some font
  265.   authors specifically deny permission to do cross-platform conversions.
  266.   
  267.   The tools you need
  268.   ==================
  269.   
  270.   XBIN
  271.        xbin23.zip in /pub/msdos/mac on oak.oakland.edu     (or other
  272.        mirrors)
  273.   
  274.   UNSIT
  275.        unsit30.zip in /pub/msdos/mac on oak.oakland.edu
  276.   
  277.   UNSITI
  278.        unsiti.exe in /pub/onset/util on ftp.std.com
  279.   
  280.        Peter Gentry indicates that this program can extract SIT
  281.        archives that use the newer compression techniques that     unsit
  282.        doesn't recognize.
  283.   
  284.   UNCPT
  285.        ext-pc.zip in /pub/pc/win3/util on ftp.cica.indiana.edu
  286.   
  287.   REFONT
  288.        refont14.zip in /pub/norm/mac-font-tools on ibis.cs.umass.edu
  289.   
  290.   BMAP2AFM
  291.        bm2af02.zip in /pub/norm/mac-font-tools on ibis.cs.umass.edu
  292.   
  293.   XBIN converts Mac "BinHex"ed files back into binary format.  BinHex is
  294.   the Mac equivalent of UUencoding, it translates files into ascii
  295.   characters so that mailers can send them around without difficulty.  It
  296.   also aids in cross platform copying too, I'm sure.  BinHexed files
  297.   generally have filenames of the form "xxx.yyy.HQX".
  298.   
  299.   UNSIT explodes "Stuffit" archives.  Stuffit archives generally have
  300.   filenames of the form "xxx.SIT".  UNSIT will ask if you want to
  301.   seperate resource and data forks.  Yes, you do.  There has been some
  302.   confusion about whether or not you want headers.  I'm inclined to
  303.   conclude that it can be made to work either way.  Personally, I say no.
  304.   
  305.   UNCPT explodes "Compactor" archives.  The ext-pc implementation is
  306.   called "extract" and does not require windows (even thought it's in the
  307.   windows section on cica).  Compactor archives generally have filenames
  308.   of the form "xxx.CPT".
  309.   
  310.   REFONT converts Mac type1 fonts into PC type1 fonts.  It also converts
  311.   Mac TrueType fonts to PC TrueType format.  And vice-versa.
  312.   
  313.   BMAP2AFM constructs AFM files from the metric information contained in
  314.   Mac screen fonts (.bmap files).  The screen font files do not have any
  315.   standard name (although they frequently have the extension .bmap).  The
  316.   screen fonts have file type "FFIL" which, in combination with some
  317.   common sense, is usually sufficient to identify them.
  318.   
  319.   I've listed the tools that I've used and the sites that are reasonable
  320.   for me to retrieve them from.  It's probably a good idea to check with
  321.   archie for closer sites if you're not in North America.  These tools
  322.   run under MS-DOS.  XBIN and UNSIT can also be run under Unix.
  323.   
  324.   How to do it?
  325.   =============
  326.   
  327.   Collect the Mac fonts from the archive or BBS of your choice.  Most of
  328.   these files will be in BinHexed format.  As a running example, I'm
  329.   going to use the imaginary font "Plugh.cpt.hqx".  When I download this
  330.   font to my PC, I would use the name "PLUGH.CPX".  The actual name you
  331.   use is immaterial.
  332.   
  333.   Run XBIN on PLUGH.CPX.  This will produce PLUGH.DAT, PLUGH.INF, and
  334.   PLUGH.RSR.  The data fork of the Mac file (the .DAT file) is the only
  335.   one of interest to us, you can delete the others.
  336.   
  337.   If the original file had been "Plugh.sit.hqx", we would be using the
  338.   UNSIT program.  Since I chose a .cpt file for this example, I'm going
  339.   to run UNCPT.
  340.   
  341.   Run UNCPT on PLUGH.DAT.  You want to extract the AFM file (if present),
  342.   the documentation or readme file (if present), and the Type1 outline
  343.   file.  The AFM and README files will be in the data fork of the archive
  344.   file.  The Type1 outline will be in the resource fork.  The AFM and
  345.   README files have Mac "TEXT" type.  The Type1 outline file has "LWFN"
  346.   type.  I'm not trying to describe this part in a step-by-step fashion.
  347.   Use the docs for UNCPT and UNSIT as a guide.  If you got this far you
  348.   probably won't have much difficulty.  If you do, drop me a line and
  349.   I'll try to help.
  350.   
  351.   If the font does not contain an AFM file, extract the screen font.
  352.   Screen fonts frequently have the extension .bmap and are "FFIL" type
  353.   files.  Use Bmap2AFM to construct an AFM from the screen font.  If the
  354.   archive _does_ contain an AFM file, it's safe to bet that the author's
  355.   AFM will be better than the one created by Bmap2AFM.
  356.   
  357.   Finally, run REFONT on the Type1 outline that you extracted above.  The
  358.   result should be an appropriate PC type1 outline.  REFONT will create a
  359.   PFM file for you from the AFM file, if you desire.
  360.   
  361.   Remember to register your shareware...
  362.   
  363.   Other comments
  364.   ==============
  365.   
  366.   vkautto@snakemail.hut.FI makes the following observations:
  367.   
  368.      * UNCPT is easier to use than UNSIT
  369.   
  370.      * UNCPT has to be run twice. I usually do it like this
  371.   
  372.        extract *.cpt -f
  373.   
  374.        extract *.cpt -f -r
  375.   
  376.      * When using "unsit30" you probably want the outline file with the
  377.           MacHeader and the others without it. I think that REFONT
  378.        requires it       but I am not sure.
  379.   
  380.      * REFONT works usually ok. You want a PFA (ASCII) file which is
  381.        directly usable on NeXT (you may need to convert carriage-returns
  382.        to       newlines but I am not sure if it is necessary).
  383.   
  384.        The biggest problem is with the .afm files that are completely
  385.        missing       or generated by the tools that don't do their job
  386.        properly.
  387.   
  388.      * BMAP2AFM requires some extra files (ie. other than bmap2afm.exe) to
  389.             work properly.
  390.   
  391. Subject: 3.5.2. Converting PC Type 1 and TrueType fonts to Mac format
  392.   
  393.   Refont (version 1.4) can convert (in both directions) between PC and Mac
  394.   formats of Type1 and TrueType fonts.  Note: it _cannot_ convert
  395.   _between_ formats, only architectures.  The procedure described above
  396.   outlines how to convert a Mac archive into PC format so that you can
  397.   get at the data.  Presumably, the process can be reversed so that you
  398.   can get at the data on the Mac side as well.  Unfortunately, I don't
  399.   have a Mac so I can't describe the process in detail.
  400.   
  401. Subject: 3.5.3. Converting PC Type 1 fonts into TeX PK bitmap fonts
  402.   
  403.   The release of PS2PK by Piet Tutelaers is a godsend to those of us
  404.   without PostScript printers.  PS2PK converts PC/Unix format Type 1 fonts
  405.   into TeX PK files.  Used in conjunction with the AFM2TFM utility for
  406.   creating TeX metric files, this allows almost anyone to use Type 1
  407.   PostScript fonts.  PS2PK is distributed under the GNU License and has
  408.   been made to run under MS-DOS with DJGPP's free GNU C compiler.  The PC
  409.   version requires a 386 or more powerful processor.  Check with Archie
  410.   for a source near you.
  411.   
  412.   Note: if TeX PK files are not directly usable for you, there seems to
  413.   be a fair possibility that LaserJet softfonts would be useful.  If so,
  414.   check below for instructions on converting TeX PK files to LaserJet
  415.   softfonts.
  416.   
  417. Subject: 3.5.4. Converting TeX PK bitmaps into HP LaserJet softfonts (and vice-versa)
  418.   
  419.   There is some possibility that someone will yell 'conflict of interest'
  420.   here, but I don't think so.  I wrote the following utilities:
  421.   
  422.   PKtoSFP: convert TeX PK files to LaserJet (bitmapped) softfonts
  423.   
  424.   SFPtoPK: convert LaserJet (bitmapped) softfonts to TeX PK files
  425.   
  426.   But they are completely free, so I don't gain anything by "advertising"
  427.   them here.  These are MS-DOS platform solutions only.  If you know of
  428.   other solutions, I would be happy to list them.
  429.   
  430. Subject: 3.5.5. TrueType to HP LaserJet bitmap softfonts (HACK!)
  431.   
  432.   If you have the tools, the following suggestion does work, but it isn't
  433.   easy and it hasn't been automated.  To be honest, I haven't really
  434.   tested it.
  435.   
  436.   If you are using Windows 3.1, get a LaserJet printer driver (you don't
  437.   need the printer, just the driver).  Using the LaserJet driver, direct
  438.   output to a file and print a simple file containing all the letters you
  439.   want in the softfont in the font that you are converting.  When the
  440.   print job has completed, the output file will contain, among other
  441.   things, a LaserJet softfont of the TrueType font you selected.  If you
  442.   know the LaserJet format, you can grab it out of there.
  443.   
  444.   I didn't say it was easy ;-)
  445.   
  446.   This method will not work with ATM [ed: as of 7/92] because ATM does
  447.   not construct a softfont; it downloads the whole page as graphics.
  448.   
  449.   Here is an overview of the LaserJet bitmap softfont format.  It should
  450.   help you get started.  If you have any questions, ask norm.  If anyone
  451.   wants to write better instructions... ;-)
  452.   
  453.   Many details are omitted from this description.  They are thoroughly
  454.   discussed in the HP Technical Reference for each model of laser printer.
  455.   I recommend purchasing the Tech Ref.  If you have additional questions
  456.   and do not plan to purchase the Tech Ref (or do not wish to wait for its
  457.   arrival), you can ask norm.
  458.   
  459.   An HP LaserJet softfont can occur almost anywhere in the output stream
  460.   destined for the printer.  In particular, it does _not_ have to be
  461.   wholly contiguous within the output file.  In fact, fonts can be
  462.   "intermixed" at will.  The following "pieces" make up a font:
  463.   
  464.   A begin font descriptor command (followed by the descriptor) and a
  465.   series of begin character descriptor commands (followed by their
  466.   associated data).  When a new character descriptor is encountered, it
  467.   is added to the current font (which may change between descriptors).
  468.   
  469.   In the discussion that follows, the following notational conventions
  470.   are followed:
  471.   
  472.   Key elements are surrounded by quotation marks.  The quotation marks
  473.   are not part of the element.  Spaces within the element are for clarity
  474.   only, they are not part of the element.  All characters (except ESC and
  475.   #, described below, are literal and must be entered in the precise case
  476.   shown).
  477.   
  478.   ESC means the escape character, ASCII character number 27 decimal.
  479.   
  480.   # means any decimal number.  The meaning of the number is described in
  481.   the commentary for that element.
  482.   
  483.      * What is a font descriptor?
  484.   
  485.        A font descriptor begins with a font descriptor command and is
  486.        followed immediately by the data for the descriptor.  Font
  487.        descriptors define data global to the font.  In general, more
  488.        recent printers are less strict about these parameters than older
  489.        printers.
  490.   
  491.      * What is the font descriptor command?
  492.   
  493.        "ESC ) s # W"
  494.   
  495.        In this command, # is the number of bytes in the descriptor.  The
  496.        first element of the descriptor indicates how many of these bytes
  497.        should be interpreted as the font descriptor (the remaining bytes
  498.        are commentary only-to the printer, at least).  This area is
  499.        frequently used for copyright information, for example, although
  500.        some systems insert kerning data into this area.
  501.   
  502.      * What is the font descriptor data?
  503.   
  504.        The data is:
  505.   
  506.             UI  Font descriptor size
  507.             UB  Descriptor format
  508.             UB  Font type
  509.             UI  Reserved (should be 0)
  510.             UI  Baseline distance
  511.             UI  Cell width
  512.             UI  Cell height
  513.             UB  Orientation
  514.              B  Spacing
  515.             UI  Symbol set
  516.             UI  Pitch
  517.             UI  Height
  518.             UI  xHeight
  519.             SB  Width Type
  520.             UB  Style
  521.             SB  Stroke Weight
  522.             UB  Typeface LSB
  523.             UB  Typeface MSB
  524.             UB  Serif Style
  525.             SB  Underline distance
  526.             UB  Underline height
  527.             UI  Text Height
  528.             UI  Text Width
  529.             UB  Pitch Extended
  530.             UB  Height Extended
  531.             UI  Cap Height
  532.             UI  Reserved (0)
  533.             UI  Reserved (0)
  534.             A16 Font name
  535.             ??  Copyright, or any other information
  536.   
  537.        UI = unsigned integer, SI = signed integer, UB = unsigned byte, SB
  538.        = signed byte, B = boolean, and A16 =sixteen bytes of ASCII.
  539.   
  540.        After the font name, ?? bytes of extra data may be inserted.  These
  541.        bytes pad the descriptor out to the length specified in the begin
  542.        font descriptor command.
  543.   
  544.        Note: integers are always in big-endian order (MSB first).
  545.   
  546.      * What is a character descriptor?
  547.   
  548.        A character descriptor describes the character specific info and
  549.        the layout of the bitmap.  Newer printers can accept compressed
  550.        character bitmaps.
  551.   
  552.      * What is a character descriptor command?
  553.   
  554.        "ESC * c # E"
  555.   
  556.        The # is the length of the descriptor, in bytes.
  557.   
  558.      * What is the character descriptor data?
  559.   
  560.             UB  Format
  561.              B  Continuation
  562.             UB  Descriptor size
  563.             UB  Class
  564.             UB  Orientation
  565.             SI  Left offset
  566.             SI  Top offset
  567.             UI  Character width
  568.             UI  Character height
  569.             SI  Delta X
  570.             ??  Character (bitmap) data.
  571.   
  572.        Although older printers cannot accept characters that include
  573.        continuations, newer printers can.  If the "continuation" field is
  574.        1, the character bitmap data begins immediately after that byte and
  575.        the remaining fields _are not_ present.
  576.   
  577.      * Ok, now I understand the data, what do I look for in the output
  578.        stream?
  579.   
  580.       ESC * c # D
  581.             defines the font number (remember the number).
  582.   
  583.       ESC ) s # W
  584.             defines the font descriptor (as described above).
  585.   
  586.       ESC * c # E
  587.             specifies the character code (the #, in this case).
  588.                  The next character descriptor maps to this position in
  589.                          the font.  Characters do not have to appear in
  590.             any                particular order.
  591.   
  592.       ESC ( s # W
  593.             defines the character descriptor (as described above).
  594.   
  595.        Remember, these can occur in any order.  Experimentation with the
  596.        particular driver you are using may help you restrict the number of
  597.        different cases that you have to be prepared for.
  598.   
  599.   Please report your experiences using this method to norm (both to
  600.   satisfy his own curiosity and to help improve the FAQ).
  601.   
  602. Subject: 3.6. MS-DOS Screen Fonts (EGA/VGA text-mode fonts)
  603.   
  604.   Editors note: the following description was mercilessly stolen from
  605.           comp.archives on 02SEP92.  It was originally Yossi Gil's
  606.         posting.
  607.   
  608.   FNTCOL14.ZIP contains more than 200 text mode fonts for EGA/VGA
  609.   displays.  It includes fonts in different sizes for Hebrew, Greek,
  610.   Cyrillic, math symbols and various type styles including smallcaps and
  611.   script.
  612.   
  613.   It is available at borg.poly.edu:/pub/reader/dos/fntcol14.zip
  614.   
  615.