OpenBSD manual page server

Manual Page Search Parameters
WSFONTLOAD(8) System Manager's Manual WSFONTLOAD(8)

wsfontloadload a font bitmap into a wscons display device

wsfontload [-Bbl] [-e encoding] [-f file] [-h height] [-N name] [-w width] [fontfile]

The wsfontload utility loads a font bitmap to a wscons device if the device driver supports it. The font gets assigned a name in this process which it can be referred to by later for use on a display screen. The font is loaded from the specified fontfile, or from stdin if fontfile is not provided.

The options are as follows:

Specifies that the font data is ordered right-to-left byte wise. The default is left-to-right.
Specifies that the font data is ordered right-to-left bit wise. The default is left-to-right.
encoding
Sets the encoding of the font. This can be either a symbolic abbreviation or a numeric value. Currently recognized abbreviations are “iso” for ISO 8859-1 or ISO-10646 (Unicode) encoding and “ibm” for IBM encoded fonts. Per default, “iso” is assumed.
file
Specify the control device of the wscons display to operate on. Default is /dev/ttyCcfg.
height
Sets the height of a font character in pixels. Default is to match the currently loaded font height for raster displays, and 16 for text-mode VGA compatible displays.
Specifies to print out a list of loaded fonts, no other arguments should be specified.
name
Specifies a name which can be used later to refer to the font. If none is given, the fontfile name is used to create one.
width
Sets the width of a font character in pixels. Default is to match the currently loaded font width for raster displays, and 8 for text-mode VGA compatible displays.

No font files are provided with the wscons framework. The fonts installed by PCVT can be used instead, as can raw font files from other operating system distributions.

A maximum of 8 fonts can be loaded. The maximum size of a font is currently 512 KiB.

/usr/share/misc/pcvtfonts/
fonts directory.

Load the IBM-encoded 8x8-font from the PCVT distribution. This (or another 8x8-font) is necessary to use the 50-line screen type on vga(4) displays.

# wsfontload -N myname -h 8 -e ibm \
	/usr/share/misc/pcvtfonts/vt220l.808

wscons(4), wsconscfg(8), wsconsctl(8)

The wsfontload program appeared in OpenBSD 2.8.

Many features are missing.

There is no way to remove a loaded font.

September 14, 2020 OpenBSD-current