home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SCREEN / LETTERS.ZIP / VFONT.ZIP / VFONT.DOC < prev    next >
Encoding:
Text File  |  1989-11-22  |  3.6 KB  |  104 lines

  1.                                VFONT 1.00
  2.  
  3. Summary
  4. -------
  5. VFONT is a VGA font loader.   Fonts in various sizes are supplied,
  6. providing for 25, 30, 33, 36, 44, and 50-line VGA text displays.
  7.  
  8. Use
  9. ---
  10. The full syntax is:
  11.  
  12.     VFONT R25|R50|file [attrib]
  13.  
  14. R25 and R50 load the ROM-based fonts provided by your VGA; they
  15. represent 25- and 50-line fonts respectively.  Thus, to load the 25-line
  16. ROM font, type:
  17.  
  18.     VFONT R25
  19.  
  20. To load a font from one of the supplied font files (*.FNT), just enter
  21. its file name; the FNT extension is assumed if none is provided.  For
  22. example, to load the 33-line font (contained in 33.FNT):
  23.  
  24.     VFONT 33
  25.  
  26. When VFONT loads a new font into the VGA, it must perform a screen clear
  27. in order to ensure that the video system is in a stable state.  Normally
  28. it will clear the screen to white-on-black, but you can specify any
  29. color attribute you want by adding the ATTRIB option.  For example, to
  30. load the 36-line font and clear the screen to light cyan on blue:
  31.  
  32.     VFONT 36 27
  33.  
  34. 27 is the attribute number for light cyan on blue.
  35.  
  36. Fonts
  37. -----
  38. The following fonts are supplied; all are sans serif unless otherwise
  39. specified:
  40.  
  41.     25.fnt    25-line font
  42.     25s.fnt   25-line serif font (similar to the ROM font, but nicer)
  43.     30.fnt    30-line font
  44.     33.fnt    33-line font
  45.     33q.fnt   A 33-line "square" font for fun.  Impress your
  46.               non-computing friends with how computery your display looks.
  47.     36.fnt    36-line font
  48.     44.fnt    44-line font
  49.     50.fnt    50-line font
  50.  
  51. Note that 25.fnt and 50.fnt differ from the ROM-based fonts in that they
  52. are sans serif.
  53.  
  54. Related programs
  55. ----------------
  56. Two related programs can help in making these fonts more useful.
  57.  
  58. You may find that some of your applications programs tend to reload the
  59. ROM fonts and/or change the number of lines displayed.  MODSAV, also
  60. from Cove Software, can be helpful in preventing this.  MODSAV is a free
  61. program that should be included in this archive (along with its separate
  62. documentation).
  63.  
  64. In order to take advantage of screens larger than 25 lines at the DOS
  65. prompt, you will need a screen driver that understands what's going on.
  66. We have modified Dan Kegel's excellent NANSI.SYS to accomodate the VGA
  67. system.  The modified version (VANSI.SYS) should also be included with
  68. this archive.  To use it, simply install as you would ANSI.SYS by
  69. including the statement
  70.  
  71.     DEVICE=[d:path]VANSI.SYS
  72.  
  73. in your CONFIG.SYS.  With VANSI installed, you will find that you have
  74. full use of all available lines when you're working at the DOS prompt.
  75.  
  76. Font file format
  77. ----------------
  78. The format of the font files is as follows:
  79.  
  80.     Offset  Length  Contents
  81.     ------  ------  --------
  82.       0       2     File signature: "VF"
  83.       2       1     Binary 0
  84.       3       1     "Points": number of dot rows per character
  85.       4      Var    Character definitions
  86.  
  87. The character definitions are in the format required by the VGA
  88. subsystem.  The length is 256 * points.
  89.  
  90.                           --------------------
  91.  
  92.     VFONT and MODSAV are donated to the public domain by the author:
  93.  
  94.                              Chris Dunford
  95.                         The Cove Software Group
  96.                               PO Box 1072
  97.                           Columbia, MD  21044
  98.                        301/992-9371 (voice only)
  99.                          CompuServe 76703,2002
  100.  
  101.     VANSI is a modification of the free NANSI.SYS by Daniel Kegel.
  102.     Both original and modified source are available from the IBM
  103.     Systems Forum (IBMSYS) on CompuServe.
  104.