* Re: ISO-8859-1 completeness of kernel fonts?
@ 2001-02-27 13:41 Mack Stevenson
2001-02-27 17:37 ` H. Peter Anvin
0 siblings, 1 reply; 13+ messages in thread
From: Mack Stevenson @ 2001-02-27 13:41 UTC (permalink / raw)
To: hpa, linux-kernel
Hello,
Thank you for your reply.
> >
> > The 8x16 and Sun 12x22 kernel fonts I tried seem to lack some standard
> > glyphs necessary to represent the entire ISO-8859-1 charmap; I am
>talking
> > about all accented capital vowels except for 'É'.
> >
> > This seems to happen in both 2.2.16 as well as in 2.2.18.
> >
> > Is this intentional? If so, why?
> >
> > How can I override this behaviour?
> >
>
>They're probably CP 437 fonts. Just load your own; e.g. "setfont
>lat1u-16".
>
I know that, but unfortunately all the fonts I found for use with the kbd
and console-tools packages are much smaller than 12x22, making them hardly
legible (to me) on high dpi screens: that's why I even tried the ones in the
kernel. :-)
[Is there any easy way for you to create larger console fonts out of the
8x16 Latin* ones you already wrote?]
"setfont -h22 [font]" doesn't work, too.
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?
Thank you,
Mack
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 13:41 ISO-8859-1 completeness of kernel fonts? Mack Stevenson
@ 2001-02-27 17:37 ` H. Peter Anvin
2001-02-27 19:58 ` Guest section DW
0 siblings, 1 reply; 13+ messages in thread
From: H. Peter Anvin @ 2001-02-27 17:37 UTC (permalink / raw)
To: Mack Stevenson; +Cc: hpa, linux-kernel
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 17:37 ` H. Peter Anvin
@ 2001-02-27 19:58 ` Guest section DW
2001-02-27 23:16 ` Kurt Garloff
0 siblings, 1 reply; 13+ messages in thread
From: Guest section DW @ 2001-02-27 19:58 UTC (permalink / raw)
To: H. Peter Anvin, Mack Stevenson; +Cc: hpa, linux-kernel
On Tue, Feb 27, 2001 at 09:37:55AM -0800, H. Peter Anvin wrote:
> 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.
kbd-1.05 comes with sun12x22.psfu, which essentially is the kernel font
together with a unimap.
Andries
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 19:58 ` Guest section DW
@ 2001-02-27 23:16 ` Kurt Garloff
0 siblings, 0 replies; 13+ messages in thread
From: Kurt Garloff @ 2001-02-27 23:16 UTC (permalink / raw)
To: Guest section DW; +Cc: Linux kernel list
[-- Attachment #1: Type: text/plain, Size: 996 bytes --]
On Tue, Feb 27, 2001 at 08:58:37PM +0100, Guest section DW wrote:
> On Tue, Feb 27, 2001 at 09:37:55AM -0800, H. Peter Anvin wrote:
>
> > 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.
>
> kbd-1.05 comes with sun12x22.psfu, which essentially is the kernel font
> together with a unimap.
Note, that I also have a SuSE12x22 font, which is based on the Sun font,
some charcaters slightly changed and added lots of 8859-1 symbols.
Isn't it included in kbd-1.04 and later, Andries?
I also have a patch to make it available for the kernel ...
http://www.garloff.de/kurt/linux/
Regards,
--
Kurt Garloff <kurt@garloff.de> [Eindhoven, NL]
Physics: Plasma simulations <K.Garloff@Phys.TUE.NL> [TU Eindhoven, NL]
Linux: SCSI, Security <garloff@suse.de> [SuSE Nuernberg, FRG]
(See mail header or public key servers for PGP2 and GPG public keys.)
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 16:26 ` Thorsten Glaser Geuer
2001-02-27 19:49 ` H. Peter Anvin
@ 2001-02-28 7:29 ` idalton
1 sibling, 0 replies; 13+ messages in thread
From: idalton @ 2001-02-28 7:29 UTC (permalink / raw)
To: Thorsten Glaser Geuer; +Cc: LKML, Mack Stevenson
Hello all..
I'm interested in making a 16x32 console font, so I can run my 21"
display at 100x37 text. I've asked on the framebuffer list already, but
have heard no reply, and the list seems to be defunct.
Since it's a fixed-frequency display, I want to have the framebuffer and
basic font in-kernel and loaded at boot time. I'm not sure where to find
the necessary tools/documentation to do all the steps, though. Could
someone point me in the right direction?
-- Ferret
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
@ 2001-02-27 23:34 Andries.Brouwer
0 siblings, 0 replies; 13+ messages in thread
From: Andries.Brouwer @ 2001-02-27 23:34 UTC (permalink / raw)
To: dwguest, garloff; +Cc: linux-kernel
>> kbd-1.05 comes with sun12x22.psfu, which essentially is the kernel font
>> together with a unimap.
> Note, that I also have a SuSE12x22 font, which is based on the Sun font,
> some charcaters slightly changed and added lots of 8859-1 symbols.
> Isn't it included in kbd-1.04 and later, Andries?
It may be that that is the one called sun12x22.psfu in kbd-1.05.
I think I first took your first version and later replaced it
with your latest version. Perhaps I did some work on it myself
as well, but maybe that was first for kbd-1.06. There was also
a Polish contribution for kbd-1.06, so the 1.06 version will have
a few more symbols, I think.
Andries
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
@ 2001-02-27 21:45 Mack Stevenson
0 siblings, 0 replies; 13+ messages in thread
From: Mack Stevenson @ 2001-02-27 21:45 UTC (permalink / raw)
To: dwguest, hpa, hpa, eccesys; +Cc: linux-kernel
Thank you for your help; I'll try to use a psf editor on the Sun 12x22 font
in the new kbd package.
Cheers,
Mack
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 20:05 ` Thorsten Glaser Geuer
@ 2001-02-27 21:19 ` H. Peter Anvin
0 siblings, 0 replies; 13+ messages in thread
From: H. Peter Anvin @ 2001-02-27 21:19 UTC (permalink / raw)
To: Thorsten Glaser Geuer; +Cc: linux-kernel, H. Peter Anvin
Thorsten Glaser Geuer wrote:
>
> I always do it by a BASIC programme under DOS (yep I know
> this isn't pure but I have a font editor from S-DOS aka
> PTS-DOS (the free version)). The SFE.COM allows me to design
> 8x8 8x12 8x14 8x16 fonts; the unicode table I write in the
> MC or VC (NC clone for DOS) editor; my BASIC pgm converts
> them together to PSFU. It's very easy once you read the psf
> docs.
> It's a pity that I've to mkfs the DOS partitions of my HDDs
> every handfull of weeks, otherwise I'd put them onto a ftp
> server somewhere. But I call you to try it by yourself.
> (perl prolly isn't that easy coz it goes to binary values,
> but GW-BASIC is fine)
>
I published a DOS-based PSF editor a long, long time ago (look for
fontedit.exe; if it isn't on the net anywhere remind me and I'll put it
back up.) Use psfaddtable then to combine it into PSFU.
However, having something running under Linux would make more sense.
-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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 19:49 ` H. Peter Anvin
@ 2001-02-27 20:05 ` Thorsten Glaser Geuer
2001-02-27 21:19 ` H. Peter Anvin
0 siblings, 1 reply; 13+ messages in thread
From: Thorsten Glaser Geuer @ 2001-02-27 20:05 UTC (permalink / raw)
To: linux-kernel, H. Peter Anvin
----- Original Message -----
From: "H. Peter Anvin" <hpa@zytor.com>
To: <linux-kernel@vger.kernel.org>
Sent: Tuesday, February 27, 2001 7:49 PM
Subject: Re: ISO-8859-1 completeness of kernel fonts?
> Followup to: <000001c0a0ed$1ea188d0$742c9c3e@tp.net>
> By author: "Thorsten Glaser Geuer" <eccesys@topmail.de>
> In newsgroup: linux.dev.kernel
> >
> > My second suggestion: code it as .psfu and load it by setfont, including
> > the appropiate console-map. AFAIK all the kernel default fonts are cp437
> > (linux/drivers/char/cp437.uni; consolemap.*)
> >
>
> Something that would be really good is if someone could contribute PSF
> (v1 and v2) support for gfe <http://www.gnu.org/software/gfe/gfe.html>
> or some other free font editor.
>
> -hpa
I always do it by a BASIC programme under DOS (yep I know
this isn't pure but I have a font editor from S-DOS aka
PTS-DOS (the free version)). The SFE.COM allows me to design
8x8 8x12 8x14 8x16 fonts; the unicode table I write in the
MC or VC (NC clone for DOS) editor; my BASIC pgm converts
them together to PSFU. It's very easy once you read the psf
docs.
It's a pity that I've to mkfs the DOS partitions of my HDDs
every handfull of weeks, otherwise I'd put them onto a ftp
server somewhere. But I call you to try it by yourself.
(perl prolly isn't that easy coz it goes to binary values,
but GW-BASIC is fine)
-mirabilos
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
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-28 7:29 ` idalton
1 sibling, 1 reply; 13+ messages in thread
From: H. Peter Anvin @ 2001-02-27 19:49 UTC (permalink / raw)
To: linux-kernel
Followup to: <000001c0a0ed$1ea188d0$742c9c3e@tp.net>
By author: "Thorsten Glaser Geuer" <eccesys@topmail.de>
In newsgroup: linux.dev.kernel
>
> My second suggestion: code it as .psfu and load it by setfont, including
> the appropiate console-map. AFAIK all the kernel default fonts are cp437
> (linux/drivers/char/cp437.uni; consolemap.*)
>
Something that would be really good is if someone could contribute PSF
(v1 and v2) support for gfe <http://www.gnu.org/software/gfe/gfe.html>
or some other free font editor.
-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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
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-28 7:29 ` idalton
1 sibling, 2 replies; 13+ messages in thread
From: Thorsten Glaser Geuer @ 2001-02-27 16:26 UTC (permalink / raw)
To: LKML, Mack Stevenson
> Hello,
>
> The 8x16 and Sun 12x22 kernel fonts I tried seem to lack some standard
> glyphs necessary to represent the entire ISO-8859-1 charmap; I am talking
> about all accented capital vowels except for 'I'.
>
> This seems to happen in both 2.2.16 as well as in 2.2.18.
>
> Is this intentional? If so, why?
>
> How can I override this behaviour?
>
> Thank you.
>
> Cheers,
>
> Mack Stevenson
I have converted my fonts by hand (with a GW-BASIC proggy) from bitmap
to .c, though not the SUN fonts for ISO but the PC fonts for cp437.
I did this because I do not like e.g. the glyph "0" in standard font
and included the "Euro" sign. (I use the same for DOS and Linux now,
and even Windoze recently got it as Terminal font!)
My second suggestion: code it as .psfu and load it by setfont, including
the appropiate console-map. AFAIK all the kernel default fonts are cp437
(linux/drivers/char/cp437.uni; consolemap.*)
-mirabilos
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ISO-8859-1 completeness of kernel fonts?
2001-02-27 6:37 Mack Stevenson
@ 2001-02-27 7:34 ` H. Peter Anvin
2001-02-27 16:26 ` Thorsten Glaser Geuer
1 sibling, 0 replies; 13+ messages in thread
From: H. Peter Anvin @ 2001-02-27 7:34 UTC (permalink / raw)
To: linux-kernel
Followup to: <F281raFC8XymNMDdckH00012e6f@hotmail.com>
By author: "Mack Stevenson" <mackstevenson@hotmail.com>
In newsgroup: linux.dev.kernel
>
> Hello,
>
> The 8x16 and Sun 12x22 kernel fonts I tried seem to lack some standard
> glyphs necessary to represent the entire ISO-8859-1 charmap; I am talking
> about all accented capital vowels except for 'É'.
>
> This seems to happen in both 2.2.16 as well as in 2.2.18.
>
> Is this intentional? If so, why?
>
> How can I override this behaviour?
>
They're probably CP 437 fonts. Just load your own; e.g. "setfont lat1u-16".
-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
^ permalink raw reply [flat|nested] 13+ messages in thread
* ISO-8859-1 completeness of kernel fonts?
@ 2001-02-27 6:37 Mack Stevenson
2001-02-27 7:34 ` H. Peter Anvin
2001-02-27 16:26 ` Thorsten Glaser Geuer
0 siblings, 2 replies; 13+ messages in thread
From: Mack Stevenson @ 2001-02-27 6:37 UTC (permalink / raw)
To: linux-kernel
Hello,
The 8x16 and Sun 12x22 kernel fonts I tried seem to lack some standard
glyphs necessary to represent the entire ISO-8859-1 charmap; I am talking
about all accented capital vowels except for 'É'.
This seems to happen in both 2.2.16 as well as in 2.2.18.
Is this intentional? If so, why?
How can I override this behaviour?
Thank you.
Cheers,
Mack Stevenson
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2001-02-28 7:30 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27 13:41 ISO-8859-1 completeness of kernel fonts? Mack Stevenson
2001-02-27 17:37 ` H. Peter Anvin
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).