DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦0bbbc550f⟧ TextFile

    Length: 1991 (0x7c7)
    Types: TextFile
    Notes: UNIX file
    Names: »vfont.5«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man5/vfont.5« 

TextFile

.TH VFONT 5
.SH NAME
vfont \- font formats for the Benson-Varian or Versatec
.SH SYNOPSIS
.B /usr/lib/vfont/\(**
.SH DESCRIPTION
The fonts for the printer/plotters have the following format.
Each file contains a header, an array of up to
256 character description
structures, and then the bit maps for the characters themselves.
The header for Genix fonts has the following format:
.in +5
.nf
.sp
.ta 8n +\w'unsigned short  'u
typedef struct font_header {
	short	magic;
	unsigned short	size;
	short	first_ch;
	short	last_ch;
	short	xtend;
} font_header;
.fi
.in -5
.PP
The
.I magic
number is 287 (decimal).
The
.I first_ch
and
.I last_ch
give the indices of the first and last characters
actually included in the font.
The
.I size
is the size of the
bit maps for the characters in bytes.
Before the maps for the characters is an array of up to
256 structures for
each of the possible characters in the font.
Each element of the array has the form:
.in +5
.nf
.sp
.ta 8n +\w'unsigned short  'u
typedef struct chardes {
	unsigned short	offset;
	short	nbytes;
	char	up;
	char	down;
	char	left;
	char	right;
} chardes;
.fi
.in -5
.PP
The
.I nbytes
field is nonzero for characters which actually exist.
For such characters, the
.I offset
field is an offset into the rest of the file where the data for
that character begins.
There are
.I up+down
rows of data for each character,
each of which has
.I left+right
bits, rounded up to some number of bytes
(for fixed width fonts in Genix this is determined
by the BLOB character - octal 200).
.SH NOTE
This is a modified manual page from unix 4.2
and as I have seen only one example of a Genix font
I can't say what goes on exactly.
A later release of Genix should contain their own version.
Currently fonts are used only in the graphics keybord driver.
Due to different hardware, the bitmaps for Comet32
will be 'at right angles' to those of original Genix.
.SH FILES
/usr/include/vfont.h
.br
/usr/lib/vfont/\(**
.SH SEE ALSO
troff(1), vfontinfo(1)