All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@transmeta.com>
To: Mack Stevenson <mackstevenson@hotmail.com>
Cc: hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: Re: ISO-8859-1 completeness of kernel fonts?
Date: Tue, 27 Feb 2001 09:37:55 -0800	[thread overview]
Message-ID: <3A9BE5F3.780B24AE@transmeta.com> (raw)
In-Reply-To: <F110arjrfh6BYVKBLEB00013ccb@hotmail.com>

Mack Stevenson wrote:
> 
> Anyway, I have already pinned down the source file (in 2.2.18) -
> drivers/video/font_sun12x22.c - and would like to try to change this. Yet it
> seems like the kernel boots using the CP437 charmap, so this would need to
> be modified, too -  I suppose that the relevant file is
> drivers/char/consolemap.c.
> 
> - How can I instruct the kernel to use the ISO-8859-1 character map?
> drivers/char/consolemap.c contains three different translation tables -
> CP437, ISO-8859-1 and VT100 mapped to Unicode -; how can I choose one of
> them?
> 
> - Or shouldn't I even bother about this since in the ASCII range CP437 and
> ISO-8859-1 map to the same characters? May I just boot the kernel using an
> unmatched pair of (CP437) charmap and (ISO-8859-1) font, feeling at ease
> because the kernel won't try to print any non-ASCII characters, and only
> later, in userspace, call loadunimap?
> 
> Am I understanding this correctly?
> 

Not really.

You're much better off designing a larger ISO-8859-1 font and load in in
user space.  You can use the 12x22 font in the kernel as a base.

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

  reply	other threads:[~2001-02-27 17:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-27 13:41 ISO-8859-1 completeness of kernel fonts? Mack Stevenson
2001-02-27 17:37 ` H. Peter Anvin [this message]
2001-02-27 19:58   ` Guest section DW
2001-02-27 23:16     ` Kurt Garloff
  -- strict thread matches above, loose matches on Subject: below --
2001-02-27 23:34 Andries.Brouwer
2001-02-27 21:45 Mack Stevenson
2001-02-27  6:37 Mack Stevenson
2001-02-27  7:34 ` H. Peter Anvin
2001-02-27 16:26 ` Thorsten Glaser Geuer
2001-02-27 19:49   ` H. Peter Anvin
2001-02-27 20:05     ` Thorsten Glaser Geuer
2001-02-27 21:19       ` H. Peter Anvin
2001-02-28  7:29   ` idalton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A9BE5F3.780B24AE@transmeta.com \
    --to=hpa@transmeta.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mackstevenson@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.