接着上个

This commit is contained in:
2026-04-23 20:00:47 +08:00
parent 088dab5a72
commit 43557b6d71
91 changed files with 23911 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef CLKS_PSF_FONT_H
#define CLKS_PSF_FONT_H
#include <clks/types.h>
struct clks_psf_font {
u32 width;
u32 height;
u32 glyph_count;
u32 bytes_per_glyph;
u32 bytes_per_row;
const u8 *glyphs;
};
const struct clks_psf_font *clks_psf_default_font(void);
const u8 *clks_psf_glyph(const struct clks_psf_font *font, u32 codepoint);
clks_bool clks_psf_parse_font(const void *blob, u64 blob_size, struct clks_psf_font *out_font);
#endif