The pcfont command modifies the system console font,
allowing new characters to be defined in the font and default characters
to be reordered. This allows code sets other than the default PC437
to be supported.
The pcfont command is normally run only from
which is itself normally run only from an init process.
loadfont provides options for pcfont based on the
current system locale.
The first form of the command selects one of a group of 8-bit code pages.
If no arguments are supplied, all characters are reset
to the default font stored in the graphics card ROM (PC437).
The terminal displays the codeset selected by this form of the command in
The config_file argument selects a code set from the
following group of configuration files, which are
supplied with the UnixWare system in the Language Supplement package:
ISO code set
Latin 1 (western Europe and the Americas)
Latin 2 (central Europe)
These code sets are supported in the following sizes: 8x8, 8x14,
8x16 and 9x16.
When a code set is selected using this form of the command,
the current font is indicated by the presence of the file
When this file is not present, the default PC437 font is used.
The second form of the pcfont command downloads the file
bdf_font, which must be in BDF format.
If the -c
option is specified, codesets selected by this form of the command are
displayed in graphics mode. The bounding box
for the font must be either 8x16 or 16x16. Other font widths, for example,
24-bit fonts, are not supported.
The remaining optional options specify the font characteristics.
The options are as follows:
Specifies the input character width in bytes. This must be in the range 1-3.
Specifies the codeset. Only EUC codesets (in the range 0-3) are supported.
Specifies the plane for multi-plane codesets. This must be in the range 0-7.
If not specified, this value defaults to 0.
The third form of the pcfont command is used for Unicode. The following option is used:
Specifies the Unicode font type. You must specify this option in order to tell an application to load a
Unicode font and not an EUC font.
You can download Unicode fonts from the World Wide Web which comply with the
BDF format, however they need to be 8-bit fonts.
If these downloaded fonts have lines that are longer than 80 characters (usually the
description lines), pcfont fails.
The fourth form of the pcfont command unloads the specified codeset.
The display then uses the default codeset.
contains configuration files and data files
if present, identifies the currently loaded code set.