NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Configuring wsfb using xorg.conf



On Mon, 13 Sep 2021, Riza Dindir wrote:

What are the default fonts in the kernel. 8x16, and 16x32?


Yes. Those are the only 2 compiled in:

$ fgrep FONT_ /usr/src/sys/arch/amd64/conf/GENERIC
options         FONT_BOLD8x16
options         FONT_BOLD16x32
$

Look in /usr/src/sys/dev/wsfont/files.wsfont to see what fonts
are available. (And, FONT_SPLEEN12x24 _is_ present in 9.2--it's
just not present in /usr/share/wscons/fonts/ as a file for you
to load with wsfontload.)

Yes I tried that, but was not able to change the font for some reason.
I must be missing something. I will look at that again.


You have to be careful to quote the font-names if they have
spaces in them:

$ fgrep Boldface /etc/wscons.conf
setvar ttyE0   font            Boldface\\\ 16x32
setvar ttyE1   font            Boldface\\\ 16x32
setvar ttyE2   font            Boldface\\\ 16x32
setvar ttyE3   font            Boldface\\\ 16x32
$

-RVP


Home | Main Index | Thread Index | Old Index