diff options
Diffstat (limited to 'kernel/include/font.h')
| -rw-r--r-- | kernel/include/font.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/include/font.h b/kernel/include/font.h index 2bb00fa..f405a90 100644 --- a/kernel/include/font.h +++ b/kernel/include/font.h @@ -1,19 +1,19 @@ #ifndef FONT_H #define FONT_H -#include <stdint.h> +#include <types.h> #define PSF_FONT_MAGIC 0x864ab572 typedef struct { - uint32_t magic; /* magic bytes to identify PSF */ - uint32_t version; /* zero */ - uint32_t headersize; /* offset of bitmaps in file, 32 */ - uint32_t flags; /* 0 if there's no unicode table */ - uint32_t numglyph; /* number of glyphs */ - uint32_t bytesperglyph; /* size of each glyph */ - uint32_t height; /* height in pixels */ - uint32_t width; /* width in pixels */ + uint32_t magic; /* magic bytes to identify PSF */ + uint32_t version; /* zero */ + uint32_t headersize; /* offset of bitmaps in file, 32 */ + uint32_t flags; /* 0 if there's no unicode table */ + uint32_t numglyph; /* number of glyphs */ + uint32_t bytesperglyph; /* size of each glyph */ + uint32_t height; /* height in pixels */ + uint32_t width; /* width in pixels */ } PSF_font; /* font i used: /usr/share/kbd/consolefonts/lat9-16.psf.gz */ |
