NetBSD-Users archive

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

Re: Configuring wsfb using xorg.conf



Hello RVP

On Mon, Sep 13, 2021 at 8:09 PM RVP <rvp%sdf.org@localhost> wrote:
>
> 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.)

Would that mean that I have to add the font (FONT_SPLEEN12x24) to the
/usr/share/wscons/fonts directory and be able to use these fonts? No
need to compile a kernel with that font (since I am using 9.2 stable)?

>
> > 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
> $

I have uncommented the font ibm at the start of wscons.conf and set
the vars for ttyE* to the ibm font. But it is saying Device not
configured

ttyE1: wsconscfg: /dev/ttyE1: DEvice not configured

and I did remove the setvars (commenting these out again) and it showed.

wsconscfg WSDISPLAYIO_ADDSCREEN: Device not configured

Will try to get wscons working.

>
> -RVP

Riza


Home | Main Index | Thread Index | Old Index