| 1 |
.TH ucs2any __appmansuffix__ __vendorversion__ |
| 2 |
.SH NAME |
| 3 |
ucs2any \- generate BDF fonts containing subsets of ISO 10646-1 codepoints |
| 4 |
.SH SYNOPSIS |
| 5 |
.B ucs2any |
| 6 |
[ |
| 7 |
.B +d |
| 8 |
| |
| 9 |
.B -d |
| 10 |
] |
| 11 |
.I source-name |
| 12 |
{ |
| 13 |
.I mapping-file |
| 14 |
.I registry-encoding |
| 15 |
} |
| 16 |
\&.\|.\|. |
| 17 |
.SH DESCRIPTION |
| 18 |
.B ucs2any |
| 19 |
allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts |
| 20 |
in any possible encoding. This way, one can derive from a single |
| 21 |
ISO 10646-1 master font a whole set of 8-bit fonts in all ISO 8859 and |
| 22 |
various other encodings. |
| 23 |
.SH OPTIONS |
| 24 |
.TP |
| 25 |
.B +d |
| 26 |
puts DEC VT100 graphics characters in the C0 range (default for upright, |
| 27 |
character-cell fonts). |
| 28 |
.TP |
| 29 |
.B \-d |
| 30 |
omits DEC VT100 graphics characters from the C0 range (default for all |
| 31 |
font types except upright, character-cell fonts). |
| 32 |
.SH OPERANDS |
| 33 |
.TP |
| 34 |
.I source-name |
| 35 |
is the name of an ISO 10646-1 encoded BDF file. |
| 36 |
.TP |
| 37 |
.I mapping-file |
| 38 |
is the name of a character set table like those at |
| 39 |
.BR <ftp://ftp.unicode.org/Public/MAPPINGS/> . |
| 40 |
These files can also typically be found installed in the |
| 41 |
.I __mapfilesdir__ |
| 42 |
directory. |
| 43 |
.TP |
| 44 |
.I registry-encoding |
| 45 |
are the CHARSET_REGISTRY and CHARSET_ENCODING field values for the font |
| 46 |
name (XLFD) of the target font, separated by a hyphen. |
| 47 |
.PP |
| 48 |
Any number of |
| 49 |
.I mapping-file |
| 50 |
and |
| 51 |
.I registry-encoding |
| 52 |
operand pairs may be specified. |
| 53 |
.SH EXAMPLE |
| 54 |
The command |
| 55 |
.RS |
| 56 |
ucs2any 6x13.bdf 8859-1.TXT iso8859-1 8859-2.TXT iso8859-2 |
| 57 |
.RE |
| 58 |
will generate the files |
| 59 |
.I 6x13-iso8859-1.bdf |
| 60 |
and |
| 61 |
.IR 6x13-iso8859-2.bdf . |
| 62 |
.SH FUTURE DIRECTIONS |
| 63 |
Hopefully a future release will have a facility similar to |
| 64 |
.B ucs2any |
| 65 |
built into the server, and re-encode ISO 10646-1 on the fly, because |
| 66 |
storing the same fonts in many different encodings is clearly a waste of |
| 67 |
storage capacity. |
| 68 |
.SH "SEE ALSO" |
| 69 |
.BR bdftruncate (1) |
| 70 |
.SH AUTHOR |
| 71 |
.B ucs2any |
| 72 |
was written by Markus Kuhn. |
| 73 |
.PP |
| 74 |
Branden Robinson wrote this manual page, originally for the Debian Project. |