1 |
.\" $MidnightBSD$ |
2 |
.\" Copyright (c) 2014 The FreeBSD Foundation. All rights reserved. |
3 |
.\" |
4 |
.\" |
5 |
.\" Redistribution and use in source and binary forms, with or without |
6 |
.\" modification, are permitted provided that the following conditions |
7 |
.\" are met: |
8 |
.\" 1. Redistributions of source code must retain the above copyright |
9 |
.\" notice, this list of conditions and the following disclaimer. |
10 |
.\" 2. Redistributions in binary form must reproduce the above copyright |
11 |
.\" notice, this list of conditions and the following disclaimer in the |
12 |
.\" documentation and/or other materials provided with the distribution. |
13 |
.\" |
14 |
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
15 |
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
16 |
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
17 |
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
18 |
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
19 |
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
20 |
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
21 |
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
22 |
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
23 |
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
24 |
.\" SUCH DAMAGE. |
25 |
.\" |
26 |
.\" $FreeBSD: stable/10/usr.bin/vtfontcvt/vtfontcvt.8 269041 2014-07-24 01:35:41Z emaste $ |
27 |
.\" |
28 |
.Dd June 9, 2014 |
29 |
.Dt VTFONTCVT 8 |
30 |
.Os |
31 |
.Sh NAME |
32 |
.Nm vtfontcvt |
33 |
.Nd "convert font files for use by the video console" |
34 |
.Sh SYNOPSIS |
35 |
.Nm |
36 |
.Op Fl h Ar height |
37 |
.Op Fl v |
38 |
.Op Fl w Ar width |
39 |
.Ar normal_font |
40 |
.Op Ar bold_font |
41 |
.Ar output_file |
42 |
.Sh DESCRIPTION |
43 |
The |
44 |
.Nm |
45 |
utility reads source font files in either BDF or Unifont HEX format and |
46 |
outputs a binary font file for use by |
47 |
.Xr vt 4 . |
48 |
HEX format files must have the file extension |
49 |
.Pa .hex . |
50 |
.Pp |
51 |
The following options are available: |
52 |
.Bl -tag -width "12345678" |
53 |
.It Fl h Ar height |
54 |
Set font height. |
55 |
The default is 16. |
56 |
Font height is set automatically for HEX files that have a |
57 |
.Ql # Height: Ar height |
58 |
comment before any font data. |
59 |
.It Fl v |
60 |
Display verbose statistics about the converted font. |
61 |
.It Fl w Ar width |
62 |
Set font width. |
63 |
The default is 8. |
64 |
Font width is set automatically for HEX files that have a |
65 |
.Ql # Width: Ar width |
66 |
comment before any font data. |
67 |
.El |
68 |
.Sh SEE ALSO |
69 |
.Xr vidcontrol 1 , |
70 |
.Xr vt 4 |
71 |
.Sh HISTORY |
72 |
The |
73 |
.Nm |
74 |
utility first appeared in |
75 |
.Fx 10.1 . |