Linux Commands Examples

A great documentation place for Linux commands


generate BDF fonts containing subsets of ISO 10646-1 codepoints

see also : bdftruncate


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

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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.



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


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


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

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



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


is the name of a character set table like those at <>. These files can also typically be found installed in the /usr/share/fonts/X11/util directory.


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.

see also



ucs2any was written by Markus Kuhn.

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

How can this site be more helpful to YOU ?

give  feedback