Re: [PATCH] Kernel fbcon UNICODE font support

From: Samuel Thibault
Date: Sun Nov 28 2010 - 03:47:46 EST


Vojtech Pavlik, le Sun 28 Nov 2010 09:15:28 +0100, a écrit :
> On Sun, Nov 28, 2010 at 02:50:49PM +0800, microcai wrote:
> > 2010/11/27 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>:
> > I did more work,and found that , VGA console (non framebuffer) realy
> > need 8bit/8bit attrib/char , because that's how text mode VGA cards
> > interpreter them. changing to full type will break VGA drivers.
>
> Well, on VGA you could use the 512 glyphs available (9 bit character, 7
> bit attribute) and dynamically change the font in the video memory to
> always contain the characters that you need on the screen. Chances are
> that you won't need all 512 at any single time. The screen isn't that
> large in classic VGA mode.

That's what the Hurd console does indeed, and that's indeed enough to be
able to display all Debian Installer's dialog boxes in chinese without
problems :)

> But since VGA is mostly dead these days anyway, it'd be a neat hack, but
> probably not worth the effort.

Agreed, considering how bug prone it'd be.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/