Subject: Re: VGA driver changes for machines without built-in font
To: None <junyoung@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 01/20/2003 23:19:02
In article <20030120044009.GA568@krishna>
junyoung@netbsd.org wrote:
> On Wed, Jan 15, 2003 at 10:42:05PM +0900, Izumi Tsutsui wrote:
> > - In vga_raster.c (for raster console), use wsfont for console fontset
> > rather than loading builtin font in vga_raster_init_screen().
>
> Builtin font is used to give a user the (nearly) same look and feel as
> he's running on the real text console. I think process of loading builtin
> font can be skipped by checking if font is found in the ROM at boot time,
> or it can be configured to do so.
Yes, wsfont is used only if vga_no_builtinfont (which would be set in
MD consinit()) is true. Otherwise builtin fonts are still used even for
raster console. I'm wondering whether there is any way to detect
if the adapter has builtin font or not, though.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp