WSFONTLOAD(8) | System Manager's Manual | WSFONTLOAD(8) |
wsfontload
— load
a font bitmap into the wsfont pool or a wscons display device
wsfontload |
[-Bbv ] [-e
encoding] [-f
wsdev] [-h
height] [-N
name] [-w
width] [fontfile] |
wsfontload |
-l |
The 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
’Per default, ‘iso
’ is
assumed.
-f
wsdev-h
height-l
-N
name-v
-w
widthwsfontload
supports
‘.wsf
’ file format that contains the
necessary information about the font in the font file itself. Such files can
be loaded without specifying any arguments, though
-N
can be used to override the font name.
Typically, the wsfontload
utility will be
executed during system startup by the
rc(8) script. See
wscons.conf(5).
Load ISO-encoded 20-pixel high Terminus font and use it on the current console
# wsfontload /usr/share/wscons/fonts/ter-120n.wsf # wsfontload -l | grep Terminus Terminus20-ISO8859-1 10x20 # wsconsctl -f `tty` -dw font=Terminus20-ISO8859-1
Load the ISO-encoded 16×32 Spleen font and switch the first console screen to use it:
# 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.
Support for ‘.wsf
’ font
files appeared in NetBSD 10.0.
Many features are missing.
The ‘.wsf
’ file format is
undocumented.
There is no way to remove a loaded font.
June 9, 2022 | NetBSD 10.99 |