From 3eaf3418928e9e9eac271961a983b720a7989972 Mon Sep 17 00:00:00 2001 From: cflip Date: Tue, 10 Jan 2023 17:31:27 -0700 Subject: Parse unicode tables in PSF fonts --- font.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'font.h') diff --git a/font.h b/font.h index 4f82fca..c1ae680 100644 --- a/font.h +++ b/font.h @@ -4,9 +4,7 @@ #include #define PSF_MAGIC_NUMBER 0x864ab572 - -typedef struct { -} PSFFontHeader; +#define PSF_FLAG_UNICODE 1 typedef struct { uint32_t magic; @@ -18,6 +16,7 @@ typedef struct { uint32_t height; uint32_t width; uint8_t *glyph_data; + uint16_t *unicode_desc; } PSFFont; PSFFont font_load(const char *); -- cgit v1.2.3