| WSFONTLOAD(8) | System Manager's Manual | WSFONTLOAD(8) |
wsfontload —
wsfontload |
[-Bbv] [-e
encoding] [-f
wsdev] [-h
height] [-N
name] [-w
width] [fontfile] |
wsfontload |
wsfontload utility loads a font bitmap into the
wsfont font pool (or a wscons device if the device driver supports this). 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 standard input if
fontfile is not provided.
The options are:
-B-b-e
encodingiso’ibm’pcvt’iso2’iso7’koi8r’iso’ is assumed.-f
wsdev-h
height-l-N
name-v-w
widthTypically, the wsfontload utility will be
executed in system startup by the /etc/rc.d/wscons
script, controlled by the /etc/wscons.conf
configuration file.
# wsfontload -w 16 -h 32 -e iso -N spleen32 \ /usr/share/wscons/fonts/spleen-16x32.fnt # wsconsctl -dw font=spleen32
Load the IBM-encoded 8×8-font from the wscons(4) distribution:
# wsfontload -N myname -h 8 -e ibm /usr/share/wscons/fonts/vt220l.808
This (or another 8×8-font) is necessary to use the 50-line screen type on vga(4) displays.
There is no way to remove a loaded font.
| April 24, 2021 | NetBSD 9.99 |