public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] More than 256/512 glyphs on a Linux console
@ 2025-02-11 19:10 Alan Mackenzie
  2025-02-11 19:36 ` Viorel Munteanu
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2025-02-11 19:10 UTC (permalink / raw
  To: gentoo-user

Hello, Gentoo.

For the past few weeks, I've been working on enhancing the Linux console
to display more than 256/512 glyphs.

This afternoon, I finally succeeded in loading the font gsans16.psfu
(the source is available in a tar ball from the maintainer of psftools's
website).  This font has 810 glyphs, and with it, I can at last see the
names of East European posters correctly displayed.  It also has Greek
and Cyrillic characters, amongst many others.

My new code is intended to handle Unicode values over 0xffff, though it
can't do so at the moment since setfont passes the Unicode value in a
16-bit field.  This program could be modified easily enough to handle
general Unicode values.

The code isn't currently in a state to publish as a patch, but I could
bring it into such a state reasonably soon if there is any interest in
it.

-- 
Alan Mackenzie (Nuremberg, Germany).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] More than 256/512 glyphs on a Linux console
  2025-02-11 19:10 [gentoo-user] More than 256/512 glyphs on a Linux console Alan Mackenzie
@ 2025-02-11 19:36 ` Viorel Munteanu
  2025-02-11 22:02   ` Alan Mackenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Viorel Munteanu @ 2025-02-11 19:36 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1.1: Type: text/plain, Size: 1233 bytes --]

La 11.02.2025 21:10, Alan Mackenzie a scris:
> Hello, Gentoo.
>
> For the past few weeks, I've been working on enhancing the Linux console
> to display more than 256/512 glyphs.
>
> This afternoon, I finally succeeded in loading the font gsans16.psfu
> (the source is available in a tar ball from the maintainer of psftools's
> website).  This font has 810 glyphs, and with it, I can at last see the
> names of East European posters correctly displayed.  It also has Greek
> and Cyrillic characters, amongst many others.
>
> My new code is intended to handle Unicode values over 0xffff, though it
> can't do so at the moment since setfont passes the Unicode value in a
> 16-bit field.  This program could be modified easily enough to handle
> general Unicode values.
>
> The code isn't currently in a state to publish as a patch, but I could
> bring it into such a state reasonably soon if there is any interest in
> it.
>
Wow, awesome!

I always thought the 256/512 glyphs was a hardware limitation, does this 
only work with a framebuffer?

I stopped using the bare console, so my interest in this is purely 
historical, but I'm glad someone out there is still doing this kind of 
stuff.


Viorel


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 10083 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] More than 256/512 glyphs on a Linux console
  2025-02-11 19:36 ` Viorel Munteanu
@ 2025-02-11 22:02   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2025-02-11 22:02 UTC (permalink / raw
  To: gentoo-user

Hello, Viorel.

On Tue, Feb 11, 2025 at 21:36:31 +0200, Viorel Munteanu wrote:
> La 11.02.2025 21:10, Alan Mackenzie a scris:
> > Hello, Gentoo.

> > For the past few weeks, I've been working on enhancing the Linux console
> > to display more than 256/512 glyphs.

> > This afternoon, I finally succeeded in loading the font gsans16.psfu
> > (the source is available in a tar ball from the maintainer of psftools's
> > website).  This font has 810 glyphs, and with it, I can at last see the
> > names of East European posters correctly displayed.  It also has Greek
> > and Cyrillic characters, amongst many others.

> > My new code is intended to handle Unicode values over 0xffff, though it
> > can't do so at the moment since setfont passes the Unicode value in a
> > 16-bit field.  This program could be modified easily enough to handle
> > general Unicode values.

> > The code isn't currently in a state to publish as a patch, but I could
> > bring it into such a state reasonably soon if there is any interest in
> > it.

> Wow, awesome!

> I always thought the 256/512 glyphs was a hardware limitation, does this 
> only work with a framebuffer?

Yes, this is for the framebuffer only.  The hardware limitation dates
from the 1980s.  I don't know how many people still use this sort of
hardware, but it surely can't be all that many, apart from displaying
boot messages before the framebuffer kicks in.

> I stopped using the bare console, so my interest in this is purely 
> historical, but I'm glad someone out there is still doing this kind of 
> stuff.

Thanks!  My view of the console is that it's a speedboat, specially
adapted for text work.  Doing that work in X Windows is like a speedboat
encrusted with barnacles.  Obviously other people see it differently.

> Viorel

-- 
Alan Mackenzie (Nuremberg, Germany).


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-11 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-11 19:10 [gentoo-user] More than 256/512 glyphs on a Linux console Alan Mackenzie
2025-02-11 19:36 ` Viorel Munteanu
2025-02-11 22:02   ` Alan Mackenzie

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