WIDTH
Section: User Commands (1)
Index
Return to Main Contents
NAME
width - produce C troff width table from HP ASCII file
SYNOPSIS
width fontfile
DESCRIPTION
Width
extracts the width of each character from an ASCII file provided by
Hewlett-Packard for a font cartridge
and writes source code for a C character array to the standard output.
When compiled, that
source code will produce a troff(1) width file in the format of
/usr/lib/font/ft*. The character which each width in the
array corresponds to is shown as a C comment.
HP supplies font width tables on floppy disk for free (you supply
the floppies). They are not copyrighted but they are rather large.
Call your local HP rep.
BUGS
The output character table must be edited for the width of
a space (12). Position 127 is used for a narrow space (6). The
characters `"', `#', `<', `>', `@', `' `^', `_', `{', `}', and `~'
do not exist on the standard font so the widths of these should be
set to zero. Finally, special characters (on the standard font) must
be added below position 127.
SEE ALSO
dewidth(1), hpwidth(1), hpfont(5)
AUTHOR
Sverre Froyen
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- BUGS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 21:52:46 GMT, February 02, 2023