On Sat, 12 Apr 2025 23:35:02 +0000 (UTC)
"Alexander Ziaee" <zi...@freebsd.org> wrote:

> Hello,
> 
> I'd like to enable spleen 64 in the build. It provides 80x25 character 
> console on my 14" 2560x1600 display. I don't understand Makefile very well, 
> but it is working on my machine. Attached is the review.
> 
> [0]: https://reviews.freebsd.org/D49768
> 
> Best,
> Alex

If the problem is NOT in building the font itself, commenting on
the review would be pointles, so commenting here.

Is the font itself built fine reproducibly?
For now, assuming it's OK here.
And also assuming the problem is in console (vty) after loader
invoked kernel.

IIRC, there are codes to default character screen to 80x25 and
choosing the font that best fits with it on maximum resolution
of the computer in vt, but I've lost track of them.

If the resolution is properly set as you want and well fitting
font is installed, registered but not chosen correctly, there could
be issues around the codes.

To workaround, you can set

  allscreens_flags="-f /path/to/your/font/fontfile.fnt"

in your /etc/rc.conf[.local].

If you don't want all vtys to be same configuration,
you can put

  vidcontrol -f /path/to/your/font/fontfile.fnt

instead.

FYI: I have the codes below (remnant from transitional period
     from sc to vt).


if [ "vt" = `sysctl -n -q kern.vty` ]
then
  keymap="jp.kbd"
  if [ -r /usr/share/vt/fonts/b16.fnt ] ; then
    allscreens_flags="-f /usr/share/vt/fonts/b16.fnt"
  fi
else
  keymap="jp.106.kbd"
fi


-- 
Tomoaki AOKI    <junch...@dec.sakura.ne.jp>

Reply via email to