A sort of blit.

This commit is contained in:
Simon Forman
2023-02-26 15:06:30 -08:00
parent d7db105bc8
commit 9ca4f81325
4 changed files with 62 additions and 30 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ for i, _ in enumerate(txt):
print(f'''\
int font_{font_name}_{pointsize}_width = {w};
int font_{font_name}_{pointsize}_height = {h};
u64 font_{font_name}_{pointsize}_number_of_characters = {len(txt)};
u64 font_{font_name}_{pointsize}_width = {w};
u64 font_{font_name}_{pointsize}_height = {h};
u32 font_{font_name}_{pointsize}_data[{len(txt)}][{w * h}];
+3 -2
View File
@@ -1,6 +1,7 @@
int font_Inconsolata_22_width = 12;
int font_Inconsolata_22_height = 25;
u64 font_Inconsolata_22_number_of_characters = 94;
u64 font_Inconsolata_22_width = 12;
u64 font_Inconsolata_22_height = 25;
u32 font_Inconsolata_22_data[94][300];