summaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'font.h')
-rw-r--r--font.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/font.h b/font.h
index 4f82fca..c1ae680 100644
--- a/font.h
+++ b/font.h
@@ -4,9 +4,7 @@
#include <SDL2/SDL.h>
#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 *);