| 1 |
.\" @(#)psfaddtable.1 |
| 2 |
.TH PSFADDTABLE 1 "25 Oct 1994" "kbd" |
| 3 |
.SH NAME |
| 4 |
psfaddtable \- add a Unicode character table to a console font |
| 5 |
.SH SYNOPSIS |
| 6 |
.B psfaddtable |
| 7 |
.I fontfile tablefile outfile |
| 8 |
.SH DESCRIPTION |
| 9 |
.LP |
| 10 |
.B psfaddtable |
| 11 |
takes a console font in .psf format given by |
| 12 |
.I fontfile |
| 13 |
and merges it with the Unicode character table given by |
| 14 |
.I tablefile |
| 15 |
to produce a font file with an embedded character table, which is |
| 16 |
written to |
| 17 |
.IR outfile . |
| 18 |
An input file name of "\-" denotes standard input, |
| 19 |
and an output file name of "\-" denotes standard output. |
| 20 |
If the |
| 21 |
.I fontfile |
| 22 |
already contains an embedded character table, it is ignored. |
| 23 |
.SH TABLE FILE FORMAT |
| 24 |
Each line in the |
| 25 |
.I tablefile |
| 26 |
should be either blank, contain a comment (preceded by |
| 27 |
.IR # ), |
| 28 |
or contain a sequence of numbers in either decimal (default), octal |
| 29 |
(preceded by |
| 30 |
.IR 0 ), |
| 31 |
or hexadecimal (preceded by |
| 32 |
.IR 0x ) |
| 33 |
format, separated by spaces or tabs. |
| 34 |
The first number on each line indicates the glyph slot in the |
| 35 |
font that is being referred to, this is between 0 and 0xff for a |
| 36 |
256-character font and 0 and 0x1ff for a 512-character font. Any |
| 37 |
subsequent numbers on the same line are Unicodes matched by this |
| 38 |
specific glyph slot. Instead of a single Unicode one may have |
| 39 |
a sequence of Unicodes separates by commas, to denote that the |
| 40 |
glyph depicts the corresponding composed symbol. |
| 41 |
It is permissible to have multiple lines for the same glyph. |
| 42 |
.SH "SEE ALSO" |
| 43 |
.BR setfont (8), |
| 44 |
.BR psfgettable (1), |
| 45 |
.BR psfstriptable (1), |
| 46 |
.BR psfxtable (1) |