kexts: fbcon: add 8x16 bitmap font

This commit is contained in:
2023-06-11 14:53:53 +01:00
parent a75c620dde
commit aa62fa71b0
4 changed files with 58287 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#ifndef U_VGA16_H_
#define U_VGA16_H_
struct bitmap_font {
unsigned char Width; ///< max. character width
unsigned char Height; ///< character height
unsigned short Chars; ///< number of characters in font
const unsigned char *Widths; ///< width of each character
const unsigned short *Index; ///< encoding to character index
const unsigned char *Bitmap; ///< bitmap of all characters
};
extern const struct bitmap_font fbcon_font;
#endif