font_data_export(9)
okay bestie, welcome to font_data_export(9) from the Kernel API Manual β we're storing font data for user space and looking iconic while we do it β¨π
π NAME π
font_data_export - Stores font data for user space. That's the whole assignment, no cap: font data for user space, stored. π¦
β¨ SYNOPSIS β¨
the signature, verbatim so nobody comes for me:
int font_data_export (font_data_t *fd , struct console_font *font ,
unsigned int vpitch );
π«Ά ARGUMENTS π«Ά
fdβ Font data. Your font-data bestie, the thing being passed in πfontβ A font for user space. It's the font the data gets stored into, periodt β¨vpitchβ The size of a single glyph in font in bytes. Literally that number, in bytes π
π DESCRIPTION π
Store the font data given in fd to the font in font. Values and pointers in font are pre-initialized. This helper mostly checks some corner cases and translates glyph sizes according to the value given vpitch.
so yes: it's not doing a whole dramatic makeover, it's checking the lil corner cases and translating glyph sizes based on vpitch π§
π RETURN π
0 on success, or a negative errno code otherwise. That's the return story, short and sweet ππ
π₯ SEE ALSO π₯
Kernel file ./lib/fonts/fonts.c β and the whole crew:
font_data_import(9)font_data_get(9)font_data_put(9)font_data_size(9)font_data_glyph_buf(9)font_data_is_equal(9)find_font(9)get_default_font(9)
source/version: ./lib/fonts; date: October 2026; page: font_data_export(9) β mwah π catch you in the kernel, bestie π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms