1 .\" $NetBSD: wsfontload.8,v 1.23 2003/10/21 14:43:23 drochner Exp $
3 .\" Copyright (c) 1999, 2001
4 .\" Matthias Drochner. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nd "load a font bitmap into the wsfont pool or a wscons display device"
63 utility loads a font bitmap into the wsfont font pool
64 (or a wscons device if the device driver supports this).
65 The font gets assigned a name in this process which it can be referred to
66 by later for use on a display screen.
67 The font is loaded from the specified
69 or from standard input if
74 .Bl -tag -width xxxxxxxxxxx
76 Specify the device to operate on.
80 Sets the width of a font character in pixels.
83 Sets the height of a font character in pixels.
86 Sets the encoding of the font.
87 This can be either a symbolic abbreviation or a numeric value.
88 Currently recognized abbreviations are
90 for ISO-8859-1 encoding,
92 for IBM encoded fonts and
94 for the custom encoding of the supplemental fonts which came with
103 Specifies a name which can be used later to refer to the font.
104 If none is given, the
106 name is used to create one.
108 Specifies that the font data is ordered right-to-left bit wise.
109 The default is left-to-right.
111 Specifies that the font data is ordered right-to-left byte wise.
112 The default is left-to-right.
114 Prints the font's properties before loading it.
119 utility will be executed in system startup by the
121 script, controlled by the
126 .Pa /usr/share/wscons/fonts
128 .Dl wsfontload -N myname -h 8 -e ibm /usr/share/wscons/fonts/vt220l.808
130 Load the IBM-encoded 8\(mu8-font from the
132 distribution. This (or another 8\(mu8-font) is necessary to use the
133 50-line screen type on
137 .Dl wsfontload -N orator -e ibm /usr/share/wscons/fonts/orator.816
138 .Dl wsconsctl -dw font=orator
142 IBM-encoded 8\(mu16 font and switch the first console screen
143 (ttyE0, wsconsctl's default) to this alternate font.
149 Many features are missing.
151 There is no way to remove a loaded font.