MirBSD manpage: wsfontload(8)

WSFONTLOAD(8)            BSD System Manager's Manual             WSFONTLOAD(8)


     wsfontload - load or delete a font bitmap from a wscons display device


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


     The wsfontload utility loads a font bitmap to a wscons device if the dev-
     ice 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:

     -B      Specifies that the font data is ordered right-to-left byte wise.
             The default is left-to-right.

     -b      Specifies that the font data is ordered right-to-left bit wise.
             The default is left-to-right.

     -d slot
             Specifies to delete the font from the given slot number, no other
             arguments should be specified.  Will fail if font deletion is not
             supported by the device, or if the font is in use.

     -e encoding
             Sets the encoding of the font. This can be either a symbolic ab-
             breviation or a numeric value. Currently recognized abbreviations
             are "iso" for ISO-8859-1 encoding, "ibm" for IBM encoded fonts,
             and "pcvt" for the custom encoding of the supplemental fonts
             which came with the BSD PCVT console driver. Per default, "iso"
             is assumed.

     -f file
             Specify the control device of the wscons display to operate on.
             Default is /dev/ttyCcfg.

     -h height
             Sets the height of a font character in pixels. Default is 16.

     -l      Specifies to print out a list of loaded fonts, no other arguments
             should be specified.

     -N 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.

     -w width
             Sets the width of a font character in pixels. Default is 8.

     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.


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


     # wsfontload -N myname -h 8 -e ibm \

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

     # wsfontload -d 3

     Delete the font in currently loaded in slot 3.


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


     The wsfontload program appeared in OpenBSD 2.8.


     Many features are missing.

MirBSD #10-current             December 6, 2015                              1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.