home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / tfont10.zip / tFont.Doc < prev    next >
Text File  |  1996-08-13  |  4KB  |  98 lines

  1.  
  2.     TFont v1.0, by Tomas Ögren
  3.     ──────────────────────────
  4.  
  5.     What is this?
  6.     -------------
  7.     This is only a program to change the default font in fullscreen OS/2
  8.     sessions to one of your own. It currently reads raw fonts (like Linux
  9.     uses), ie a file with all 256 chars, and one bit per "pixel", 8 columns
  10.     and 16 rows (80x25 mode). The filesize is (256*8*16/8 =) 4096 bytes.
  11.     I have only tested it with 80x25 fonts, so I cannot say if it will work
  12.     with other sizes. All the program does, is to use the VioGetFont(),
  13.     fill the font-data buffer with the data from a file, and put it all back
  14.     with VioSetFont(). All other parts of the data (x-size, y-size etc) is
  15.     unchanged.
  16.     I included a DOS version too (not too much features in that one..)
  17.  
  18.  
  19.     NOTE:
  20.     -----
  21.     I have tested this program on a couple of computers, and gotten help to
  22.     test it by some people on IRC (See "Thanx" below for a list), and it seems
  23.     like some video-drivers doesn't support the Vio?etFont() call, and fails.
  24.     There is nothing I can do about this, except to bypass the drivers and
  25.     talk directly to the gfx-card, but then the font will change back as soon
  26.     as something changes videomode, and it isn't really that way you should
  27.     program in an OS (Im not counting DOS as a real OS). So, I won't do that.
  28.  
  29.  
  30.     What's included in the archive?
  31.     -------------------------------
  32.     Well.. There should be about 8 files..:
  33.     tFont.Doc           This thing
  34.     tFont.Exe           The OS/2 executable
  35.     tFont.c             The source
  36.     tFont.def           File used while compiling
  37.     Fonts.Zip           Some fonts ripped from Linux (Unpack the ones you like)
  38.     file_id.diz         Short desc for BBS's
  39.     Makefile            The makefile..
  40.     dosFont.Exe         Stupid Dos version, executable
  41.     dosFont.c           Stupid Dos version, source
  42.  
  43.  
  44.     How to run?
  45.     -----------
  46.     Usage:  tFont.exe [-?|-h|-d|-f] <Filename>
  47.             <Filename>          Installs the font <Filename>
  48.             -f                  Force yes on all questions
  49.             -d                  Display status only
  50.             -?                  This help
  51.             -h                  This help
  52.  
  53.     With the parameter -d, it only queries which fontsize and total bytes
  54.     needed for the font, and prints it on the screen.
  55.  
  56.     -f forces yes to all questions (currently only 1, if the bytes needed and
  57.     bytes in the file doesn't match), should normally never be used, but.
  58.  
  59.  
  60.     Example:
  61.     --------
  62.     tFont.Exe T.Fnt                        (Changes to T.Fnt, my favourite)
  63.  
  64.     or
  65.     tFont.Exe T.Fnt >NUL         (If you want to run it at startup or so..)
  66.  
  67.     I have included a couple of fonts which I have stolen (?) from Linux
  68.  
  69.  
  70.     Thanx to:
  71.     ---------
  72.     IBM for their great OS/2!
  73.     Bill G. for "640kb should be..."
  74.     Christoper, Erik, Magnus for testing my program.
  75.     Deek, roland and jez333 on IRC (#os2prog) for also testing...
  76.  
  77.  
  78.     Final word(s):
  79.     --------------
  80.     This program is e-mailware! (If you wish to use the program for more than
  81.     10 years, you have to send me an email.. :] )
  82.     Mail me if you like the program, hate the program, find a bug, missing
  83.     feature, nothing to do for the moment  etc..
  84.     I am also interrested in more fonts.. (80x25, 80x50 etc..)
  85.     "Textmode is still alive" (Should be sung with "James Brown is still alive"
  86.     melody)
  87.  
  88.     Author:
  89.     -------
  90.     That's me.. Tomas Ögren
  91.     email:   stric@freenet.hut.fi
  92.     address: Tomas Ögren
  93.              Snipgränd 69
  94.              S-906 24 Umeå
  95.              Sweden
  96.     phone:   +46 90-186452
  97.  
  98.