kexts: fbcon: add 8x16 bitmap font
This commit is contained in:
15
kexts/drivers/tty/fbcon/u_vga16.h
Normal file
15
kexts/drivers/tty/fbcon/u_vga16.h
Normal 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
|
||||
Reference in New Issue
Block a user