
VGA fonts for xdosemu
---------------------

In order to create these fonts, the vga font of the
dosemu project was taken, resized by bdfresize and finally
corrected and sharpened by hand.


Usage:
------

Choose the files having the .pcf extension and copy or move
them to your font directory, e.g. /usr/lib/X11/fonts/misc.

Change to this directory. If you like you can gzip the
fonts in order to save some disk space.

Finally use mkfontdir full_path_name to create or update
your fonts.dir.

You don't have to restart your X Server when using
xset -fp rehash (as normal user, not root).

If you choose a new directory, you have to add this
directory to your font path first.

In your dosemu.conf enter (either or):
$_X_font = "vga640norm"
$_X_font = "vga640inv"
$_X_font = "vga800norm"
$_X_font = "vga1024norm"

Inside of xdosemu you may change the fonts (and window size!)
by typing xmode -font vga640norm
          xmode -font vga640inv
          xmode -font vga800norm
          xmode -font vga1024norm


The fonts
---------

Files having the .pcf extension are executable, files
having the .bdf extension are source code. I used
xmbdfed as font editor and bdftopcf as compiler.
(Talking in terms like executable, source code and
compiler is not fully correct but simplifies explanation).

vganorm640 and vga640inv give you the maximum window size
possible inside of a 640x480 dpi display. vga800norm and
vga1024norm do the same for a 800x600 and a 1024x768 dpi
display.

If you run your X Server in 800x600 dpi, vga800norm
will give you a fullscreen mode when leaving away the
X Windows' title bar and border lines.
(Window Maker can do this.)

vga640inv was a "stupid" test in order to invert the
colours. It does not work because the cursor will not be
inverted and stay invisible. But may be you can use it
for some special stuff. I solved the problem of inverting
colours by using a DOS TSR inside of xdosemu.

Written in December 2002 by Martin Reuber, OFD Kiel,
German Fiscal Administration.

