TGViewer
NetBSD NetBSD @netbsd · 231 subscribers
Post #38 256
wsfont - hanging the default NetBSD console font.

The default built-in font, Boldface, which is loaded at boot-time on a framebuffer (whether genfb or DRM) console is too small as it is 8x16. The other font built into the kernel is Boldface 16x32, and this, if you load it, will give you a console approximating a 80x25 screen--ie. this font is too large.

The solution that is usually advocated to get a reasonable-size font is to a) edit the kernel config, b) add one of the fonts in /usr/src/sys/dev/wsfont/ using directives like options FONT_SPLEEN16x32, and c) then recompile the kernel. But, this is a pain. Simpler to write a program to suck in the fonts and load them into the kernel as needed. This is what the code below does.

https://www.unitedbsd.com/d/311-wsfont-changing-the-default-netbsd-console-font

#fonts #system
More from @netbsd
  1. Aug 17, 2026NetBSD 11 is Awesome!! Installed this on a system with a 500MHz Pentium iii, 512MB ram and…
  2. Aug 17, 2026NetBSD 11.0 release. The NetBSD project is pleased to (finally) announce the NetBSD 11.0 r…
  3. Aug 17, 2026Better late than never... Let's back to the channel. 🎸
  4. Feb 5, 2026Rust in the Kernel, and other odd decisions. NetBSD already has taken a much odder decisio…
  5. Oct 13, 2025smolBSD. smolBSD is a meta-operating system built on top of NetBSD. It lets you compose yo…
  6. Sep 14, 2025Adventures in porting a Wayland Compositor to NetBSD and OpenBSD. #video #wayland
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →