Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: Localised fonts????
Date: Fri, 25 Oct 1996 09:31:44 -0400	[thread overview]
Message-ID: <199610251331.JAA03993@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <3270A10B.6E@cs.tut.fi>

>>> Kari Davidsson said:
> 
> I managed to install the ReHat 4.0 on my UDB (thanks to Erik Troan who
> fixed the installation programs). Now I stumbled on to some 
> minor problem that I would like to fix if possible. Under X I have the
> iso-8859-1 fonts displaying correctly but under the console there are
> some fonts missing, like ~, p, } (and one or two more), these are some
> special icelandic char, plus some special european char. The dumpkeys
> program shows all the font under X, in the "compose seqtion" of the
> output but again they are not shown correctly if run on console. If I
> try to use the setfont utility to download some iso-1 compliant
> font I only get errors, which uis nderstandable (I think) since
> setfont asumes EGA/VGA cards, which the TGA is not.
> 
> So after this long introduction, is there a way to change the fonts
> in the TGA so that iso-1 encoded fonts will by displayd correctly?

The TGA has no hardware character generator, like VGA; the driver must do
the rendering of the characters from bitmap data compiled into the kernel.

For the initial release of the TGA support in the kernel, I picked the
default 8x16 font from the kbd-092 (?) distribution, and built the approp.
table into the driver.

There's nothing that would prevent that table from being dynamically
replaced, as VGA fonts are, but the rendering code is pretty particular
(read "hardcoded" :-) about the bitmap format and character size.

If all you need to do is fix up certain characters, feel free to have a go
at the table in <drivers/char/tga.c>. If you want/need help in any more
ambitious project in this area, let me know.

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-25 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3270A10B.6E@cs.tut.fi>
1996-10-25 13:31 ` jestabro [this message]
1996-10-25 11:14 Localised fonts???? Kari Davidsson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox