Beyond technical improvements, Linux Kernel 6.19 will also deliver something that, oddly enough, can be seen from a more aesthetic point of view. And more specifically, it is set to introduce a new Terminus 10×18 console bitmap font, offering a clearer, more balanced option for users who rely on text-mode consoles.

The addition arrives through a recent PR as part of a broader set of fbdev updates targeting the 6.19-rc1 cycle. Expectations are that the new font will improve readability in environments where console clarity still matters, especially on modern laptops and framebuffer-based systems.

The Terminus 10×18 font is designed specifically for mid-density 13–16-inch laptop displays with resolutions such as 1280×800 and 1440×900. Existing built-in fonts, most notably the long-standing 8×16 fallback used by the kernel for decades, tend to appear cramped or thin on these panels.

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 day ago

    This made me remember that one time several years ago when I was wondering if there was any way to change that font and learned there was some sort of service that allowed you to do that in boot time, but the downside was that there was some sort of what it’s known at frontend web development as “FOUT” (flash of unstyled text) and you could avoid that by converting your .pcf font to C code and patch it into the kernel code, but at that point I gave up.

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        24 hours ago

        Boot means initramfs plus kernel. Any other part could do that, doesnt need to run in kernelspace. I dont think the initramfs runs in kernel mode either.

        Linux is a big huge thing that is all very highly privileged. It works, very well, but it is kind of a security mess.

        • frongt@lemmy.zip
          link
          fedilink
          arrow-up
          11
          ·
          22 hours ago

          initramfs is a compressed filesystem, not an execution context. But it must be possible to print text even before initramfs loads, e.g. to display an error if it fails.

              • redjard@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                1
                ·
                5 hours ago

                I use an encrypted rootfs without “an initramfs”. Just requires some advanced fuckery.

                A little known fun fact is that almost all kernels have a tiny stub-initram built into the kernel file. This is added when initram support is enabled, and is loaded before dedicated files are. It is however possible to supply your own initram directory or archive during kernel build to replace this built-in initram, so you can bake it in without leaving a separate file. No juggling with partitions, no boot options. Works just like a normal kernel “without initram”, since even kernels without one usually do have that stub one anyway.

                The downside is that a) you have to build the kernel, and b) the files to pack have to be available when the kernel is built, meaning you can’t pack in modules of the kernel. But when building your own kernel anyway you can simply set the needed modules for encryption built-in and only pack the userspace cryptsetup executable needed for decryption, that way you get it all in a single kernel build, and the output is a single uniform kernel binary capable of decrypting your boot drive. No flags, no extra files, no access to the esp needed.

                (I use gentoo with encrypted root btw.)

                • boredsquirrel@slrpnk.net
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 hour ago

                  Guys you have to see, it is amazing how much deep tech stuff you know, but dont forget you are a crazy niche within a niche and be nice to non-systems programmers XD

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        2 hours ago

        Yes, the kernel doing hardware things and another parts doing rendering for example, interacting with the kernel.

        Text mode isnt just the kernel… the first thing that starts after the kernel is the init system.

        • The_Decryptor@aussie.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          10 hours ago

          It’s a shame you’re getting downvoted since you’re actually right, and distros are in the process of moving to “kmscon”, a userspace console, rather than the old kernel console (Which iirc isn’t actually intended to be a general purpose console, it’s meant for boot messages)

          That said, the fonts the kernel uses are old style bitmap fonts, extremely limited “attack surface” as they’re not doing stuff like opentype/font shaping, it’s just setting pixel values directly.

          • boredsquirrel@slrpnk.net
            link
            fedilink
            arrow-up
            2
            ·
            2 hours ago

            Good to hear that the kernel fonts are very basic. I guess that makes sense? I find it a bit odd, is the kernel ever the only thing interacting with hardware, with no chance to let a userspace program run that?

          • boredsquirrel@slrpnk.net
            link
            fedilink
            arrow-up
            2
            ·
            2 hours ago

            Also excited what RedoxOS creates

            I just hope they get some industry funding soon. So many companies use embedded Linux but could really use a microkernel architecture.

            Google with WearOS, Chromecast, Home and whatever weird little appliences they make.

            A small kernel, dedicated drivers for hardware (that could probably be ported from Linux) and small programs

        • boredsquirrel@slrpnk.net
          link
          fedilink
          arrow-up
          1
          ·
          40 minutes ago

          TIL that the font rendering inside the kernel is actually pixels. Not sure what your comment wanted to say.