Skip to contentSkip to conversation

ISO-8859-1 completeness of kernel fonts?

DISCUSSION Mack Stevenson 5 participants 7 messages Feb 27, 2001 – Feb 28, 2001

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Followup to:  <[email protected]>
By author:    "Mack Stevenson" <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 7 lines

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 'É'.

Quoted 6 lines

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

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
#2 lore raw
In reply to Mack Stevenson
Quoted 10 lines

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?

Quoted 7 lines

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

#3 lore raw
In reply to Mack Stevenson
Followup to:  <[email protected]>
By author:    "Thorsten Glaser Geuer" <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 5 lines

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

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
#4 lore raw
In reply to Mack Stevenson

----- Original Message -----
From: "H. Peter Anvin" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 27, 2001 7:49 PM
Subject: Re: ISO-8859-1 completeness of kernel fonts?

Quoted 9 lines
Followup to:  <[email protected]>
By author:    "Thorsten Glaser Geuer" <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 5 lines

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.*)

Quoted 5 lines

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

#5 lore raw
In reply to Mack Stevenson
Quoted 14 lines · Thorsten Glaser Geuer

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

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
#6 lore raw
In reply to 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