console ASCII glyph 1:1 mapping
commit1c55f18717304100a5f624c923f7cb6511b4116d
authorIngo Brueckl <ib@wupperonline.de>
Wed, 10 Dec 2008 22:35:00 +0000 (10 23:35 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2008 19:25:49 +0000 (13 11:25 -0800)
tree41e299ad69bdd0cf3d8b5e0aef56559046844b2e
parentf75bc06e5d00a827d3ec5d57bbb5b73a4adec855
console ASCII glyph 1:1 mapping

For the console, there is a 1:1 mapping of glyphs which cannot be found
in the current font.  This seems to be meant as a kind of 'emergency
fallback' for fonts without unicode mapping which otherwise would
display nothing readable on the screen.

At the moment it affects all chars for which no substitution character
is defined.  In particular this means that for all chars (>= 128) where
there is no iso88591-1/unicode character (e.g.  control character area)
you'll get the very strange 1:1 mapping of the (cp437) graphics card
glyphs.

I'm pretty sure that the 1:1 mapping should only affect strict ASCII
code characters, i.e.  chars < 128.

The patch limits the mapping as it probably was meant anyway.

Signed-off-by: Ingo Brueckl <ib@wupperonline.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Egmont Koblinger <egmont@uhulinux.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c