vc_font_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vc_font_size β€” the kernel API manual, bestie edition ✨

Okay so like, welcome to vc_font_size(9), a page straight out of the Kernel API Manual, and honestly? It's a little baddie of a function. Let's get into it πŸŽ€


✨ NAME ✨

vc_font_size β€” literally calculates the size of the font data, in bytes. That's the whole gig. Iconic, lowkey 🫢


🌸 SYNOPSIS 🌸

unsigned int vc_font_size (const struct vc_font *font );

That's the vibe check right there β€” takes one const struct vc_font * and hands you back an unsigned int. No cap πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • font β€” The VC font. That's it, that's the argument. She's the main character here πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

Okay so vc_font_size calculates the number of bytes of font data in the font you specified with, well, font. And like β€” how does it know? Not me guessing, bestie: the function calculates the size from the font parameters. So it's reading the vibes off the struct itself and doing the math. Slay 🧚✨


πŸ”₯ RETURN πŸ”₯

The size of the font data, in bytes. A number. A gift. Periodt πŸ’…


⭐ SEE ALSO ⭐

Kernel file ./drivers/tty/vt/vt.c β€” and like, the whole friend group:


🌈 and that's the whole page!! sourced from ./drivers/tty/vt, dated October 2026, vc_font_size(9) forever and always πŸ’–βœ¨πŸŽ€ go forth and size those fonts, bestie 🫢

πŸ“¦ where this page comes from