DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

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

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T g

⟦791187804⟧ TextFile

    Length: 2118 (0x846)
    Types: TextFile
    Names: »genwidth.1«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/Man-pages/other-manuals/genwidth.1« 
            └─⟦this⟧ »TeX3.0/TeXcontrib/salkind/man/genwidth.1« 
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./tex82/TeXcontrib/salkind/man/genwidth.1« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« 
        └─⟦c58930e5c⟧ 
            └─⟦this⟧ »TeX3.14/Man-pages/other-manuals/genwidth.1« 
            └─⟦this⟧ »TeX3.14/TeXcontrib/salkind/man/genwidth.1« 

TextFile

.TH GENWIDTH 1 NYU
.SH NAME
genwidth \- generate a width table for device independent troff
.SH SYNOPSIS
genwidth [-u \fIunitsize\fR] [-r \fIres\fR] [-n \fIname\fR] [-s \fIspecial\fR] charmap rstfont
.SH DESCRIPTION
.I Genwidth
takes as input a character map table and a RST font and generates on
standard output a width table suitable for
.I makedev
and device independent troff.
.PP
Lines in the character table consist of three fields separated by white
space:
.br
.in +10
name	kerning	position
.br
.in -10
The \fIname\fR field is a string that denotes a troff character name, i.e.,
``a'' for the letter a, or ``dg'' for a degree symbol.  The second
column contains kerning information:  specify 1 for a descender, 2 for
an ascender, or 3 for both.  The third column gives the glyph number
and should be between 1 and 127.  Blank lines and lines beginning
with a # are ignored.
.PP
Note the character map is basically in the same format as a standard
device independent troff width table, with the exception that the
initial keywords and the width column are missing.  The keywords are
generated automatically; the widths are obtained from the RST font.
.PP
.I Genwidth
supports several options:
.TP 5
\-u
Take the next argument, \fIunitsize\fR, as the unitsize of the output
device (as specified in the DESC file).  The default is 16.
.TP 5
\-r
Take the next argument, \fIres\fR, as the resolution of the output
device (as specified in the DESC file).  The default is 240.
.TP 5
\-n
Take the font name from the next argument.  The default is to use
the first two letters of the RST font name (remember, font names
are limited to two letters in troff).
.TP 5
\-s
Take the next argument as a keyword to be inserted in the output width
table.  Usually this would be ``special'' to specify a special font.
.SH SEE ALSO
makedev(1)
.br
B.W. Kernighan, ``Device Independent Troff"
.SH DIAGNOSTICS
Self explanatory
.SH BUGS
Should be incorporated with makedev, since it is doing much of the same
work anyway.
.br
The generated width values from the raster file don't always look right;
they may require some hand editing.