UCS2ANY(1) X Version 11 UCS2ANY(1)

# [NAME](#NAME)

ucs2any - generate BDF fonts containing subsets of ISO 10646-1 codepoints

# [SYNOPSIS](#SYNOPSIS)

**ucs2any** \[ **+d** | **-d** ] *source-name* { *mapping-file* *registry-encoding* } ...

**ucs2any** \[ **--help** | **--version** ]

# [DESCRIPTION](#DESCRIPTION)

**ucs2any** allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts in any possible encoding. This way, one can derive from a single ISO 10646-1 master font a whole set of 8-bit fonts in all ISO 8859 and various other encodings.

# [OPTIONS](#OPTIONS)

**+d**

puts DEC VT100 graphics characters in the C0 range (default for upright, character-cell fonts).

[**-d**](#d)

omits DEC VT100 graphics characters from the C0 range (default for all font types except upright, character-cell fonts).

[**--help**](#help)

prints usage message and exits.

[**--version**](#version)

prints version information and exits.

# [OPERANDS](#OPERANDS)

[*source-name*](#source-name)

is the name of an ISO 10646-1 encoded BDF file.

[*mapping-file*](#mapping-file)

is the name of a character set table like those at **&lt;ftp://ftp.unicode.org/Public/MAPPINGS/&gt;**. These files can also typically be found installed in the */usr/share/fonts/X11/util* directory.

[*registry-encoding*](#registry-encoding)

are the CHARSET\_REGISTRY and CHARSET\_ENCODING field values for the font name (XLFD) of the target font, separated by a hyphen.

Any number of *mapping-file* and *registry-encoding* operand pairs may be specified.

# [EXAMPLE](#EXAMPLE)

The command

ucs2any 6x13.bdf 8859-1.TXT iso8859-1 8859-2.TXT iso8859-2

will generate the files *6x13-iso8859-1.bdf* and *6x13-iso8859-2.bdf*.

# [FUTURE DIRECTIONS](#FUTURE_DIRECTIONS)

Hopefully a future release will have a facility similar to **ucs2any** built into the server, and re-encode ISO 10646-1 on the fly, because storing the same fonts in many different encodings is clearly a waste of storage capacity.

# [SEE ALSO](#SEE_ALSO)

[**bdftruncate**(1)](/man/os/font-util/bdftruncate.1)

# [AUTHOR](#AUTHOR)

**ucs2any** was written by Markus Kuhn.

Branden Robinson wrote this manual page, originally for the Debian Project.

2025-04-27 font-util 1.4.2

---

Document: ucs2any(1) from font-util 1.4.2-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/font/util
