Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
VTFONTCVT(8)		FreeBSD	System Manager's Manual		  VTFONTCVT(8)

     vtfontcvt -- convert font files for use by	the video console

     vtfontcvt [-n] [-f	font|source|compressed-source] [-h height] -o
	       output_file [-v]	[-w width] normal_font [bold_font]

     The vtfontcvt utility reads source	font files in either BDF or Unifont
     HEX format	and outputs a binary font file,	C source, or C source with
     font data compressed by using LZ4 compression method.  The	output in C
     source is intended	to be used to embed the	font into program binary.  The
     binary font file is for use by vt(4).  HEX	format files must have the
     file extension .hex.

     The following options are available:

     -f	font|source|compressed-source
	       Specify the output format.  The default is binary font file.

     -h	height
	       Set font	height.	 The default is	16.  Font height is set	auto-
	       matically for BDF files and for HEX files that have a `#
	       Height: height' comment before any font data.

     -n	       Do not apply output filtering with C source output.

     -o	output_file
	       Specify the name	for the	output file.

     -v	       Display verbose statistics about	the converted font.

     -w	width  Set font	width.	The default is 8.  Font	width is set automati-
	       cally for BDF files and for HEX files that have a `# Width:
	       width' comment before any font data.

     vidcontrol(1), vt(4)

     The vtfontcvt utility first appeared in FreeBSD 10.1.

FreeBSD	13.0			August 2, 2020			  FreeBSD 13.0


Want to link to this manual page? Use this URL:

home | help