mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
fa9896e082
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
100 lines
2.9 KiB
Groff
100 lines
2.9 KiB
Groff
.\" Copyright (c) 2014 The FreeBSD Foundation.
|
|
.\"
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.Dd July 19, 2022
|
|
.Dt VTFONTCVT 8
|
|
.Os
|
|
.Sh NAME
|
|
.Nm vtfontcvt
|
|
.Nd "convert font files for use by the video console"
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl nv
|
|
.Op Fl f Ar format
|
|
.Op Fl h Ar height
|
|
.Op Fl w Ar width
|
|
.Fl o Ar output_file
|
|
.Ar normal_font
|
|
.Op Ar bold_font
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
utility reads source font files in either BDF or Unifont HEX format and
|
|
outputs a file in one of the available output formats.
|
|
.Pp
|
|
HEX format files
|
|
.Po Ar normal_font
|
|
and
|
|
.Ar bold_font Pc
|
|
must have the file extension
|
|
.Pa .hex .
|
|
.Pp
|
|
The following options are available:
|
|
.Bl -tag -width "-o output_file"
|
|
.It Fl f Ar format
|
|
Specify the output format.
|
|
Available formats are:
|
|
.Bl -tag -width "compressed-source"
|
|
.It Cm compressed-source
|
|
C source with font data compressed by using LZ4 compression method.
|
|
.It Cm font
|
|
A binary font file
|
|
.Pq default .
|
|
.It Cm source
|
|
C source.
|
|
.El
|
|
.Pp
|
|
The output in C source is intended to be used to embed the font into program
|
|
binary.
|
|
.Pp
|
|
The binary font file is for use by
|
|
.Xr vt 4 .
|
|
.It Fl h Ar height
|
|
Set font height.
|
|
The default is 16.
|
|
Font height is set automatically for BDF files and for HEX files that have a
|
|
.D1 # Height: Ar height
|
|
comment before any font data.
|
|
.It Fl n
|
|
Do not apply output filtering with C source output.
|
|
.It Fl o Ar output_file
|
|
Specify the name for the output file.
|
|
.It Fl v
|
|
Display verbose statistics about the converted font.
|
|
.It Fl w Ar width
|
|
Set font width.
|
|
The default is 8.
|
|
Font width is set automatically for BDF files and for HEX files that have a
|
|
.D1 # Width: Ar width
|
|
comment before any font data.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr vidcontrol 1 ,
|
|
.Xr vt 4
|
|
.Sh HISTORY
|
|
The
|
|
.Nm
|
|
utility first appeared in
|
|
.Fx 10.1 .
|