Bigger runes?

This commit is contained in:
xamidev
2024-08-19 13:18:03 +02:00
parent 6ce5264b43
commit 1ebed970c8
2 changed files with 12 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
#include "../libc/stdint.h"
#include "framebuffer.h"
#include "serial.h"
//extern uint32_t *g_framebuffer;
@@ -14,8 +15,9 @@ void putpixel(uint32_t* fb, int pitch, int bpp, int x, int y, uint32_t color) //
void draw_char(uint32_t* fb, int pitch, int bpp, int x, int y, char c, uint32_t fg_color, uint32_t bg_color)
{
const unsigned char* glyph = font[(unsigned char)c];
int glyph_width = 8;
int glyph_height = 16;
//serial_printf(3, "glyph= %c\r\n", glyph);
int glyph_width = 16;
int glyph_height = 32;
for (int py=0; py < glyph_height; py++)
{