Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/fonts/utilities/ega2mf

EGA2MF is a utility to generate METAFONT code for
8x14 bitmaps of the type used for EGA screen fonts
on machines of the IBM pc/xt/at class.  The idea
is that you may then produce a font which emulates
the appearance of a video display screen with all
the crudities appropriate for that medium.
There are some trivial changes necessary to make
ega2mf work with some other bitmap type (e.g. 8x16
for the VGA or Hercules Plus).  This is left as an
exercise for the reader.
% 4/25/90: a slightly modified version, vga2mf.c, is
% now available wherein the necessary changes have been
% made for doing VGA 8x16 fonts (at the urging of Dimitri
% Vulis).  A really improved version would have the font-specific
% dimensions abstracted so that a command-line switch could
% determine the font type to be used.
% ``This is left as an exercise for the reader''

EGA2MF expects the name of an input bitmap file and an output
generated code file.  If these are not supplied it will ask.
EGA2MF does not do checking to verify that the input file truly
is a bitmapped font.  You may obtain spectacularly worthless
METAFONT code by allowing EGA2MF to process, for instance, this 
README file.

The METAFONT code generated will expect to have cmbase and the cmtt10
parameter file available.  

An early version of EGA2MF was used to produce the font WNPC10
which uses the ``standard'' character set as found in IBM pc-type
systems in the USA.  This is the same as the code page 437
character set below.  Your copy of EGA2MF __may__ be distributed
with the following code page bitmaps
CP437.EGA  United States
CP850.EGA  Multilingual
CP860.EGA  Portugal
CP863.EGA  Canada-French
CP865.EGA  Norway
CP880DV.EGA  Dimitri Vulus' Cyrillic ``code page 880''
% 4/25/90: there _may_ also be corresponding *.vga files
% suitable for input to vga2mf

For METAFONT tinkerers, the essential works are all at the head
of the file in s small number of magic-number variables which are
used by a macro named crt which draws the individual crt-style dots
for the characters.  I don't have any doubt that someone could
make improvements to the METAFONT code.  The C code can probably
also use some improvement; but given what it does, how much trouble
is it worth if it works at all?

[One such improvement of the algorithim is present in the jis2mf
program distributed as part of jemtex. See [tex.babel.japanese]
for more information. -dh]

EGA2MF works on my machines, under both DOS and UNIX, but is provided
to you in source so that you may verify that it will do nothing
catastrophic _before_ you compile it.  Since it is available to
you free there is, of course, no warranty of any sort whatsoever,
and you use the program entirely at your own risk.

% 91/05/24 Brian {Hamilton Kelly}, checking that the programs would work
% under VAX/VMS, replaced the line reading
  FILE *f1,*f2;
% in each source with these lines
  FILE *f1=(FILE *) NULL;
  FILE *f2=(FILE *) NULL;
% (In C, there's no guarantee that automatic variables will have _any_
% particular value, let alone the (FILE *)NULL that was necessary here
% with the method the program uses to prompt for missing command-line
% arguments.  Perhaps he was just lucky with his Unix & DOS :-)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Thomas Ridgeway, Director,
Humanities and Arts Computing Center/NorthWest Computing Support Center
35 Thomson Hall                            H    H    AA    CCCCC  CCCCC
University of Washington, DR-10            H    H   A  A   C      C    
Seattle, WA 98195                          HHHHHH  AAAAAA  C      C    
(206)-543-4218                             H    H  A    A  C      C    
ridgeway@blackbox.hacc.washington.edu      H    H  A    A  CCCCC  CCCCC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-     Your comments, suggestions and improvements will be welcome    -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Files

Name Size Date Notes
00readme.txt 3965 1993-12-08 01:00:00
3965 1993-12-08 01:00:00 ==> /fonts/util­i­ties/ega2mf/00readme.txt
cp437.ega 3584 1993-12-08 01:00:00
cp437.vga 4096 1993-12-08 01:00:00
cp850.ega 3584 1993-12-08 01:00:00
cp850.vga 4096 1993-12-08 01:00:00
cp860.ega 3584 1993-12-08 01:00:00
cp860.vga 4096 1993-12-08 01:00:00
cp863.ega 3584 1993-12-08 01:00:00
cp863.vga 4096 1993-12-08 01:00:00
cp865.ega 3584 1993-12-08 01:00:00
cp865.vga 4096 1993-12-08 01:00:00
cp880dv.ega 3584 1993-12-08 01:00:00
cp880dv.vga 4096 1993-12-08 01:00:00
ega2mf.c 5960 1993-12-08 01:00:00
foo.bar 514 1993-12-08 01:00:00
vga2mf.c 6261 1993-12-08 01:00:00
wnpc10.mf 108746 1993-12-08 01:00:00
wnpc10.tex 1177 1993-12-08 01:00:00

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (33.5k).

ega2mf – Gen­er­ate code for EGA screen fonts

Ega2mf gen­er­ates code for the 8x14 bitmaps used for the EGA screen fonts used on IBM PCs of the XT/AC class. The idea is that you may then pro­duce a font which em­u­lates the ap­pear­ance of a video dis­play screen with all the cru­di­ties ap­pro­pri­ate for that medium.

The util­ity has been known to run both on DOS and Unix-based sys­tems.

Doc­u­men­ta­tion
Ver­sion1.0
Li­censeUn­known Sta­tus, No In­for­ma­tion Avail­able
Copy­right1990 Hu­man­i­ties and Arts Com­put­ing Cen­ter, Univer­sity of Wash­ing­ton
Main­tainerThomas Ridge­way
Topics sup­port for font de­vel­op­ment, test­ing and char­ac­ter­i­sa­tion
Guest Book Sitemap Contact 2014-04-21 16:44 CEST