home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pcfonts / loadfonthlp.txt < prev    next >
Text File  |  2020-01-01  |  2KB  |  49 lines

  1. LOADFONT: Load a user-defined font to EGA/VGA. Version 1.5, Apr 16 1993
  2. Copyright (c) 1991-1993 by Yossi Gil, P.O.Box 3148, Jerusalem, ISRAEL.
  3.  
  4. Email: yogi@cs.technion.ac.il
  5. Usage:   LOADFONT [height] [range] [flags]                 (use standard input)
  6.   or     LOADFONT [height] [rangeop(s)] [flags] fontfile        (use font file)
  7.  
  8. Will load a text-mode font from stdin/fontfile to the EGA/VGA adapter memory.
  9. LOADFONT looks for 'fontname' in the current directory and then in all
  10. the directories specified in the FONTPATH environment variable. Multiple
  11. directories in FONTPATH are separated by ';' chars.
  12.  
  13.     'height' is the number of scan lines per character. When this parameter
  14. is absent LOADFONT tries to make an educated guess of the height based on the
  15. system's display adapter (1st form), the last two charcaters of the FONFILE
  16. extension, and the size of FONTFILE (2nd form).
  17.  
  18.     'range' in the form of n:m specifies that font has to be loaded for
  19. characters n..m. The default is 0:255. Range aliases such as 'digit' are
  20. recognized. 'rangeop' in the form of [+|-]RANGE allows a finer control on
  21. which characters a font is to be loaded. Rangeop aliases such as 'alnum' are
  22. recognized.
  23.  
  24. FLAGS   -b<n> Load font to bank (block) n    -H   Display another help screen
  25.         -h    Display this help screen       -?   Display all help information
  26.  
  27. RANGE ALIASES
  28.    full   0:255      print 32:126      misc  128:175      heb7    96:122
  29.    ascii  0:127      graph 33:126      draw  176:223      hebibm 128:154
  30.    meta 128:255      digit 48:57       other 224:255      hebdec 224:250
  31.    ctrl   0:31       upper 65:90       greek 224:235      heb    128:154
  32.                      lower 97:122      math  236:254      heb8   224:254
  33.    alpha = +lower +upper, alnum = +alpha +digit, punct = +print - alnum,
  34.    xdigit = +digit +65:70 +97:102, space = 9:13+32:32,
  35.    accent= +128:154 +160:166
  36.  
  37. EXAMPLES
  38.    loadfont 14 < italic.fnt                (load an italic font of height 14)
  39.    loadfont sanserif.f16                  (load a sanserif font of height 16)
  40.    loadfont 16 128:255 < rom.fnt   (Let 8th-bit-set chars be like 7bit ascii)
  41.    loadfont +0:128 -punct smallcaps.f08          (Load non punct ascii chars)
  42.  
  43. SEE ALSO
  44.    withfont, dumpfont, charset, breakcpi
  45.  
  46. COPYING POLICY Copy freely for private use. Usage as part of any commercial
  47.   package is under the same restrictions as of Rhaul Dehsi ZOO program. If
  48.   you cannot obtain ZOO, you cannot use 'loadfont' commercially.
  49.