Compare commits
2 Commits
33cb3dfa30
...
db596a9212
Author | SHA1 | Date | |
---|---|---|---|
db596a9212 | |||
99e2d7053b |
File diff suppressed because it is too large
Load Diff
@ -94,7 +94,7 @@ void terminal_putentryat(char c, uint32_t color, size_t x, size_t y)
|
||||
char *glyph = node.bitmap;
|
||||
for (size_t cy = 0; cy < node.height; cy++)
|
||||
for (size_t cx = 0; cx < node.width; cx++)
|
||||
if (glyph[cy + node.width + cx] == '#')
|
||||
if (glyph[cy * node.width + cx] == '#')
|
||||
put_pixel(color, x + cx, y + cy);
|
||||
/* const size_t index = y * VGA_WIDTH + x; */
|
||||
/* TERM_BUF[index] = vga_entry(c, color); */
|
||||
|
@ -59,7 +59,7 @@ for charactere in characteres:
|
||||
.bitmap = NULL,
|
||||
}},\
|
||||
"""
|
||||
string += "\n}};"
|
||||
string += "\n};"
|
||||
|
||||
if not os.path.exists("./headers/fonts"):
|
||||
os.makedirs("./headers/fonts")
|
||||
|
Loading…
Reference in New Issue
Block a user