Subject: Re: Character mapping
To: None <netbsd-users@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: netbsd-users
Date: 03/20/2006 16:33:24
Zbigniew Baniewski <zb@ispid.com.pl> wrote:

> Somewhere in the system there must be a file, which contains character
> mapping. I noticed, that after loading a VGA font file, there is surely some
> character remapping done - f.e. character with the code 179 dec ("power 3",
> "3 superscript") is currently shown on the screen as "normal" 3 (the one of
> the code 63 - although the code of character in the file will be properly
> written as 179). I understand, it's just because the common "IBM PC character
> set" just doesn't contain "upper 3" - so it's replaced with similar char.
> 
> I would to try to make some remapping - but where is that table? I need to
> find table with map of kind: "code of typed character -> code of displayed
> character". Just to, let's say, replace that "normal 3" with some other
> character.

Search for "encoding" in wsfontload(8) manual.  It's poorly documented.
You can search for WSDISPLAY_FONTENC under src/sys

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen