ucs2any(1) XFree86 ucs2any(1)NAME
ucs2any - generate BDF fonts containing subsets of ISO 10646-1 codepoints
SYNOPSIS
ucs2any [ +d | -d ] source-name { mapping-file registry-encoding } ...
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
+d puts DEC VT100 graphics characters in the C0 range (default for upright, character-cell fonts).
-d omits DEC VT100 graphics characters from the C0 range (default for all font types except upright, character-cell fonts).
OPERANDS
source-name
is the name of an ISO 10646-1 encoded BDF file.
mapping-file
is the name of a character set table like those at <ftp://ftp.unicode.org/Public/MAPPINGS/>. These files can also typically be
found installed in the /usr/X11R6/lib/X11/fonts/util/ directory.
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
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 XFree86 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.
SEE ALSO bdftruncate(1)AUTHOR
ucs2any was written by Markus Kuhn.
Branden Robinson wrote this manual page, originally for the Debian Project.
XFree86 Version Version 4.3.0 ucs2any(1)
Check Out this Related Man Page
UPDATE-XFONTS-TRADITIONAL(8) chiark utilities UPDATE-XFONTS-TRADITIONAL(8)NAME
update-xfonts-traditional - generate traditional ASCII fixed-with fonts
SYNOPSIS
update-xfonts-traditional --bdf-filter
update-xfonts-traditional --process-pcf in.pcf.gz out.pcf.gz
update-xfonts-traditional --process-fontdirs fontdir ...
update-xfonts-traditional --process-fonttrees fonttree ...
DESCRIPTION
update-xfonts-traditional generates versions of X11 PCF fonts which have been edited to restore compatibility with traditional versions of
US-ASCII, and to restore some of the glyphs to more traditional appearance.
MODES --bdf-filter
Takes a BDF on standard input and tries to generate an edited BDF on standard output.
--process-pcf
Takes to PCF filename arguments; the input PCF is uncompressed, decompiled to a BDF, processed, recompiled to a PCF and recom-
pressed.
--process-fontdirs
In each fontdir all files font.pcf.gz are processed, to generate where applicable corresponding trad--font.pcf.gz files. The mtime,
ctime and inode number of the input files are recorded so that reprocessing the same directory later will be fast.
--process-fonttrees
Each fonttree is searched for font directories which are processed as above.
--update
Each built in font tree location is searched for font directories which are processed as above.
OPTIONS
-R|--rules-path rulespath
Prepend rulespath to the path of directories from which to load glyph editing rules.
--share-dir share-dir
Use share-dir instead of /usr[/local]/share/xfonts-traditional.
--parallel|-j cpus
Use up to cpus cores for processing fonts. The default is all the cpus available.
--always-reprocess
When scanning font directories, always reprocess all the fonts, regardless of whether we think they have been done already.
--no-tolerate-bad-fonts
Treat bad input fonts (eg, ones for which pcf2bdf crashes, or ones with other problems) as a fatal error. Normally they just pro-
duce a warning.
FILES
xfonts-traditional.done
In each font directory, records information about processed fonts, so as to optimise away unnecessary reprocessing.
xfonts-traditional.log
In each font directory, records a lot of which fonts were processed and to a certain extent if not why not.
/usr/share/fonts/X11 /usr/local/share/fonts/X11
Default font tree paths for --update.
trad--font.pcf.gz
In any font directory, our output files. Any other files matching this pattern may be overwritten or deleted.
EXIT STATUS
0 All went well and there were no warnings.
2 With --bdf-filter and --process-pcf only, indicates that the input font did not need to be edited, or was not suitable for editing,
and has not been written out, so the output is incomplete, but this is not an error.
any other
There were problems.
BUGS
Only the 6x13 font conventionally called supported. This package comes too late to rescue Unix from an incompatible change to its charac-
ter set.
Greenend 2012 UPDATE-XFONTS-TRADITIONAL(8)