Please i want to know the font FreeBSD uses in the console.

1794240471675.png
 

Attachments

  • 1794240696774.png
    1794240696774.png
    257.9 KB · Views: 51
hoping to learn the same here, but I suspect it will not be very big if the framebuffer that installs with x is active.
How does one comment out the framebuffer?
 
To make it clear, the font visible in the images in the opening post is the default vt(4) console font "Terminus" [1], not "Spleen", as the link in post #2 to the forums post-679168 might suggest.

One can easily recognize the Spleen font at the lowercase "L" ("l"). It looks like a lowercase "t" without the horizontal beam.

spleen_font.png


The fonts under /usr/share/vt/fonts can be set via rc.conf(5) variable allscreens_flags, e.g.: allscreens_flags="-f spleen-16x32. This will change the console font after rc scripts are executed.

Or, make Spleen vt console default font from the start at the boot menu:
Rich (BB code):
# cd /boot/fonts
# mv 16x32.fnt.gz 16x32.fnt.gz.orig
# gzip -c /usr/share/vt/fonts/spleen-16x32.fnt  > 16x32.fnt.gz

# echo  screen.font=\"16x32\"  >>  /boot/loader.conf

[1] /usr/src/sys/dev/vt/font/vt_font_default.c
Code:
/*
 * This is the "Terminus BSD Console" font.  It is identical to the standard
 * variant of Terminus Font 8x16, but provided under the 2-clause BSD License
 * (FreeBSD License).  Please contribute any changes back to Mr. Zhekov at
 * <dimitar.zhekov@gmail.com>.
 */
 
I suspect it will not be very big if the framebuffer that installs with x is active.
I assume you mean the "drmfb" framebuffer, replaced by a drm-kmod driver. There is no problem with the font size. You can choose different Spleen font sizes to be set via /etc/rc.conf allscreens_flags:
Code:
% ls -1 /usr/share/vt/fonts/spleen-*
/usr/share/vt/fonts/spleen-12x24.fnt
/usr/share/vt/fonts/spleen-16x32.fnt
/usr/share/vt/fonts/spleen-32x64.fnt
/usr/share/vt/fonts/spleen-5x8.fnt
/usr/share/vt/fonts/spleen-6x12.fnt
/usr/share/vt/fonts/spleen-8x16.fnt

or, one of the terminus fonts, in case you are unsatisfied with the default font size, set via /boot/loader.conf screen.font variable:
Code:
% ls -1 /boot/fonts
10x18.fnt.gz
10x20.fnt.gz
11x22.fnt.gz
12x24.fnt.gz
14x28.fnt.gz
16x32.fnt.gz
32x64.fnt.gz
6x12.fnt.gz
8x14.fnt.gz
8x14v.fnt.gz
8x16.fnt.gz
8x16b.fnt.gz
8x16v.fnt.g
 
I assume you mean the "drmfb" framebuffer, replaced by a drm-kmod driver. There is no problem with the font size. You can choose different Spleen font sizes to be set via /etc/rc.conf allscreens_flags:
Thanks,
allscreens_flags="-f spleen-16x32.fnt"
in rc.conf is a good for a similar size here
 
Back
Top