Changing the Console Font

This is for changing the font for the system console (terminal).

MidnightBSD comes with a few bitmap (pixel-based) .fnts by default. These are located in the /usr/share/syscons/fonts/ directory. To change your console font, simply use the following command:

vidcontrol -f armscii8-8x16.fnt

The vidcontrol command is used to configure your system console. -f is used to set the font your console uses. armscii8-8x16.fnt is an example font file; you can replace this value with any of the fonts on your system (listed below). The fonts ending in 8x16 only seem to work.

A list of the default font files:

armscii8-8x14.fnt
armscii8-8x16.fnt
armscii8-8x8.fnt

cp1251-8x14.fnt
cp1251-8x16.fnt
cp1251-8x8.fnt

cp437-8x14.fnt
cp437-8x16.fnt
cp437-8x8.fnt

cp437-thin-8x16.fnt
cp437-thin-8x8.fnt

cp850-8x14.fnt
cp850-8x16.fnt
cp850-8x8.fnt

cp850-thin-8x16.fnt
cp850-thin-8x8.fnt

cp865-8x14.fnt
cp865-8x16.fnt
cp865-8x8.fnt

cp865-thin-8x16.fnt
cp865-thin-8x8.fnt

cp866-8x14.fnt
cp866-8x16.fnt
cp866-8x8.fnt

cp866b-8x16.fnt
cp866c-8x16.fnt
cp866u-8x14.fnt
cp866u-8x16.fnt
cp866u-8x8.fnt

haik8-8x14.fnt
haik8-8x14.fnt
haik8-8x8.fnt

iso-8x14.fnt
iso-8x16.fnt
iso-8x8.fnt

iso-thin-8x16.fnt

iso01-8x14.fnt
iso01-8x16.fnt
iso01-8x8.fnt

iso04-8x14.fnt
iso04-8x16.fnt
iso04-8x8.fnt

iso04-vga9-8x14.fnt
iso04-vga9-8x16.fnt
iso04-vga9-8x8.fnt

iso04-vga9-wide-8x16.fnt

iso04-wide-8x16.fnt

iso05-8x14.fnt
iso05-8x16.fnt
iso05-8x8.fnt

iso07-8x14.fnt
iso07-8x16.fnt
iso07-8x8.fnt

iso08-8x14.fnt
iso08-8x16.fnt
iso08-8x8.fnt

iso09-8x16.fnt

iso15-8x14.fnt
iso15-8x16.fnt
iso15-8x8.fnt

iso15-thin-8x16.fnt

koi8-r-8x14.fnt
koi8-r-8x16.fnt
koi8-r-8x8.fnt

koi8-rb-8x16.fnt
koi8-rc-8x16.fnt
koi8-u-8x14.fnt
koi8-u-8x16.fnt
koi8-u-8x8.fnt

swiss-1131-8x16.fnt
swiss-1251-8x16.fnt

swiss-8x16.fnt
swiss-8x8.fnt

ChangingTheConsoleFont (last edited 2008-04-15 05:11:49 by smultron)