summaryrefslogtreecommitdiff
path: root/kernel/include/font.h
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-08-07 16:39:28 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-08-07 16:43:26 +0200
commit71396c5cd460890c52e348687e6e7c864e2dfeed (patch)
tree72e7dd114cea46c5209dba2e0c2ed9ffeb7f55b5 /kernel/include/font.h
parent50aaae893611af890a6855158ad0a3e32c7b2c43 (diff)
types.h; libk and heap begining
Diffstat (limited to 'kernel/include/font.h')
-rw-r--r--kernel/include/font.h18
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 */