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
OpenPGP_0x67992BD27934AEA4.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature